Function at 0x4574d0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xbc
xor ecx, ecx
push ebx
or eax, 0xffffffff
push ebp
push esi
push edi
mov edi, dword [esp + 0xd0]
xor edx, edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xa4], 0x1fffffff
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov esi, 4
add edi, 0x10
mov ebx, dword [edi]
xor eax, eax
test si, si
setg al
lea eax, [eax + eax + 0x1e]
test ax, ax
jle 0x4575cc
movzx eax, ax
mov dword [esp + 0x10], eax
lea esp, [esp]
test bl, 1
je 0x4575be
movsx eax, dx
movsx ecx, word [eax*2 + 0x5724f0]
mov ebp, dword [eax*4 + 0x571d78]
or dword [esp + ecx*4 + 0x2c], ebp
lea ecx, [esp + ecx*4 + 0x2c]
movsx ecx, word [eax*2 + 0x57262c]
mov ebp, dword [esp + ecx*4 + 0x2c]
mov eax, dword [eax*4 + 0x571ff0]
lea ecx, [esp + ecx*4 + 0x2c]
or ebp, eax
mov dword [ecx], ebp
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
inc edx
shr ebx, 1
dec eax
mov dword [esp + 0x10], eax
jne 0x457580
dec esi
sub edi, 4
test si, si
jge 0x457562
xor eax, eax
xor edx, edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov edi, 9
mov dword [esp + 0x78], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edx
jmp 0x457670
mov ecx, dword [esp + 0x50]
jmp 0x457670
and ecx, 0xff
movzx ax, byte [ecx + 0x572770]
mov ecx, dword [esp + 0x24]
movsx esi, ax
mov ebx, 0x20
mov dword [esp + 0x10], 0xa
add ecx, eax
mov dword [esp + 0x24], ecx
xor ecx, ecx
sub ebx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x2c]
jmp 0x4576b0
mov ebx, dword [esp + 0x20]
mov edi, edi
mov edx, dword [eax]
movsx ebp, cx
mov ecx, ebx
shl ebp, cl
mov ebx, edx
mov ecx, esi
shr ebx, cl
mov ecx, edx
mov edx, dword [esp + 0x10]
add eax, 4
or ebp, ebx
mov dword [eax - 4], ebp
dec edx
mov dword [esp + 0x10], edx
jne 0x4576aa
cmp word [esp + 0x18], 8
jne 0x4576e7
test byte [esp + 0x50], 1
je 0x45765f
xor eax, eax
lea esp, [esp]
movsx ecx, ax
mov edx, dword [esp + ecx*4 + 0x2c]
test edx, edx
jne 0x457704
inc eax
cmp ax, 9
jb 0x4576f0
jmp 0x45770a
cmp ax, 9
jb 0x457715
cmp dword [esp + 0x50], 1
je 0x457b66
mov ecx, dword [esp + 0x14]
movsx eax, cx
shl eax, 2
mov edx, dword [esp + eax + 0x2c]
test edx, edx
jne 0x45774e
jmp 0x457730
mov edx, dword [esp + eax + 0xa4]
test edx, edx
jne 0x45774a
inc ecx
movsx eax, cx
shl eax, 2
mov edx, dword [esp + eax + 0x2c]
test edx, edx
je 0x457730
mov dword [esp + 0x14], ecx
movsx edx, cx
shl edx, 2
mov eax, dword [esp + edx + 0x2c]
cmp eax, dword [esp + edx + 0xa4]
mov dword [esp + 0x28], edx
jb 0x45795a
mov ecx, dword [esp + 0x14]
cmp cx, 9
ja 0x457797
mov esi, 0xa
sub esi, ecx
mov eax, edx
movzx ecx, si
nop
mov ebp, dword [esp + eax + 0x2c]
mov esi, dword [esp + eax + 0xa4]
xor ebp, esi
mov dword [esp + eax + 0x2c], ebp
add eax, 4
dec ecx
jne 0x457780
cmp di, 9
ja 0x4577d0
movsx eax, di
mov ecx, 0xa
shl eax, 2
sub ecx, edi
movzx ecx, cx
lea ecx, [ecx]
mov ebp, dword [esp + eax + 0x54]
mov esi, dword [esp + eax + 0x7c]
xor ebp, esi
mov dword [esp + eax + 0x54], ebp
add eax, 4
dec ecx
jne 0x4577b0
jmp 0x4577d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
and eax, 0xff
movzx bp, byte [eax + 0x572770]
xor ebx, ebx
add ecx, ebp
cmp di, 9
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ecx
jg 0x457861
movsx eax, bp
mov ecx, 0x20
sub ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, 0xa
sub ecx, edi
movzx eax, cx
mov esi, 9
lea edx, [esp + 0xa0]
mov dword [esp + 0x10], eax
sub esi, eax
mov eax, dword [edx]
mov ecx, eax
mov dword [esp + 0x1c], ecx
movsx ecx, bp
mov ebp, eax
shl ebp, cl
movsx ecx, bx
or ebp, ecx
mov ecx, dword [esp + 0x20]
shr eax, cl
mov dword [edx], ebp
mov ebp, dword [esp + 0x18]
sub edx, 4
mov ebx, eax
dec dword [esp + 0x10]
jne 0x457821
test bx, bx
je 0x45785d
movsx edx, bx
movsx eax, si
mov edi, esi
mov dword [esp + eax*4 + 0x7c], edx
mov edx, dword [esp + 0x28]
xor ebx, ebx
cmp word [esp + 0x14], 9
ja 0x4578bc
mov esi, dword [esp + 0x14]
movsx eax, bp
mov ecx, 0x20
sub ecx, eax
lea eax, [esp + edx + 0x2c]
mov edx, 0xa
sub edx, esi
movzx edx, dx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
jmp 0x457895
mov ecx, dword [esp + 0x20]
mov esi, dword [eax]
movsx edx, bx
shl edx, cl
movsx ecx, bp
mov ebx, esi
shr ebx, cl
mov ecx, dword [esp + 0x10]
add eax, 4
or edx, ebx
mov dword [eax - 4], edx
dec ecx
mov ebx, esi
mov dword [esp + 0x10], ecx
jne 0x457891
mov edx, dword [esp + 0x28]
cmp bp, 8
jne 0x4578cd
test byte [esp + 0x50], 1
je 0x4577d0
mov eax, dword [esp + 0x14]
cmp ax, 9
mov dword [esp + 0x1c], edi
jae 0x4578fe
jmp 0x4578e0
movsx ecx, ax
mov esi, dword [esp + ecx*4 + 0x2c]
test esi, esi
jne 0x4578f4
inc eax
cmp ax, 9
jb 0x4578e0
jmp 0x4578fe
cmp ax, 9
jb 0x457715
cmp dword [esp + 0x50], 1
jne 0x457715
test ax, ax
jg 0x457b66
mov eax, dword [esp + edx + 0xa4]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x45793f
mov ecx, dword [esp + edx + 0x2c]
test ecx, ecx
jne 0x45793b
inc eax
movsx edx, ax
shl edx, 2
mov ecx, dword [esp + edx + 0xa4]
test ecx, ecx
je 0x457921
mov dword [esp + 0x14], eax
movsx edx, ax
shl edx, 2
mov eax, dword [esp + edx + 0xa4]
cmp eax, dword [esp + edx + 0x2c]
mov dword [esp + 0x28], edx
jb 0x457769
mov ecx, dword [esp + 0x14]
cmp cx, 9
ja 0x45798a
mov esi, 0xa
sub esi, ecx
mov eax, edx
movzx ecx, si
mov ebp, dword [esp + eax + 0xa4]
mov esi, dword [esp + eax + 0x2c]
xor ebp, esi
mov dword [esp + eax + 0xa4], ebp
add eax, 4
dec ecx
jne 0x457970
cmp di, 9
ja 0x4579b4
movsx eax, di
mov ecx, 0xa
shl eax, 2
sub ecx, edi
movzx ecx, cx
mov ebp, dword [esp + eax + 0x7c]
mov esi, dword [esp + eax + 0x54]
xor ebp, esi
mov dword [esp + eax + 0x7c], ebp
add eax, 4
dec ecx
jne 0x4579a0
mov ecx, dword [esp + 0xc8]
jmp 0x4579c0
mov esi, dword [esp + 0x24]
and ecx, 0xff
movzx ax, byte [ecx + 0x572770]
add esi, eax
mov dword [esp + 0x24], esi
xor esi, esi
cmp di, 9
mov dword [esp + 0x18], eax
jg 0x457a54
movsx ebp, ax
mov eax, 0x20
sub eax, ebp
mov dword [esp + 0x20], eax
mov eax, 0xa
sub eax, edi
movzx edi, ax
mov eax, 9
sub eax, edi
lea edx, [esp + 0x78]
mov dword [esp + 0x10], eax
jmp 0x457a10
mov eax, dword [edx]
mov ebx, eax
mov ecx, ebp
shl ebx, cl
movsx ecx, si
or ebx, ecx
mov ecx, dword [esp + 0x20]
shr eax, cl
mov dword [edx], ebx
sub edx, 4
dec edi
mov esi, eax
jne 0x457a10
test si, si
je 0x457a48
mov eax, dword [esp + 0x10]
mov edi, eax
movsx edx, si
movsx eax, ax
mov dword [esp + 0x1c], edi
mov dword [esp + eax*4 + 0x54], edx
jmp 0x457a4c
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp word [esp + 0x14], 9
ja 0x457ab1
mov ebx, dword [esp + 0x14]
movsx esi, ax
lea eax, [esp + edx + 0xa4]
mov edi, 0x20
mov edx, 0xa
sub edi, esi
sub edx, ebx
movzx edx, dx
mov dword [esp + 0x10], edx
mov edx, dword [eax]
movsx ebx, cx
mov ecx, edi
shl ebx, cl
mov ebp, edx
mov ecx, esi
shr ebp, cl
mov ecx, edx
mov edx, dword [esp + 0x10]
add eax, 4
or ebx, ebp
mov dword [eax - 4], ebx
dec edx
mov dword [esp + 0x10], edx
jne 0x457a81
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
cmp ax, 8
mov ecx, dword [esp + 0xc8]
jne 0x457ac7
test cl, 1
je 0x4579c0
mov eax, dword [esp + 0x14]
cmp ax, 9
jae 0x457af2
movsx esi, ax
mov ebx, dword [esp + esi*4 + 0xa4]
test ebx, ebx
jne 0x457ae8
inc eax
cmp ax, 9
jb 0x457ad1
jmp 0x457af2
cmp ax, 9
jb 0x457912
cmp ecx, 1
jne 0x457912
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
movsx eax, word [esp + 0x24]
lea ecx, [esp + 0x54]
push ecx
cdq
mov ecx, 0x13d
idiv ecx
mov eax, ecx
lea ecx, [esp + 0x58]
sub eax, edx
push eax
push ecx
call fcn.00457310
mov al, byte [esp + 0x84]
mov ebp, dword [esp + 0xe0]
add esp, 0xc
test al, 1
je 0x457ba7
push ebp
call fcn.0045a110
add esp, 4
jmp 0x457bb9
xor edx, edx
mov eax, ebp
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [esp + 0x10], 0
mov ecx, 4
add ebp, 0x10
lea esp, [esp]
xor edx, edx
xor esi, esi
test cx, cx
setle dl
mov eax, 1
dec edx
and edx, 0xc0000000
add edx, 0x3fffffff
mov edi, edx
mov edi, edi
movsx edx, word [esp + 0x10]
movsx ebx, word [edx*2 + 0x5724f0]
mov ebx, dword [esp + ebx*4 + 0x54]
test dword [edx*4 + 0x571d78], ebx
je 0x457c0c
xor esi, eax
mov edx, dword [esp + 0x10]
inc edx
shl eax, 1
test eax, edi
mov dword [esp + 0x10], edx
jne 0x457bf0
xor dword [ebp], esi
dec ecx
sub ebp, 4
test cx, cx
jge 0x457bd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret