Function at 0x420ca3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb4
and dword [esp + 0x54], 0
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x68]
mov dword [esp + 0x30], ecx
stosd dword es:[edi], eax
mov ebx, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x64]
push eax
push ebx
call dword [0x45f4e0]
and dword [esp + 0x90], 0
lea edi, [esp + 0x94]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x90]
push eax
push 0x18
push dword [esp + 0x7c]
call dword [0x45f0d4]
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x2c], ebp
test ebp, ebp
je 0x421039
mov esi, dword [esp + 0x98]
mov dword [esp + 0x28], esi
test esi, esi
je 0x421039
and dword [esp + 0x3c], 0
and dword [esp + 0x40], 0
push 0x10
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], esi
call dword [0x45f754]
test eax, eax
je 0x420d4e
push ecx
push esi
push ebp
mov ecx, eax
call fcn.00420bf6
mov ebx, eax
mov dword [esp + 0x14], eax
jmp 0x420d54
xor ebx, ebx
mov dword [esp + 0x14], ebx
and dword [esp + 0x78], 0
lea edi, [esp + 0x7c]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x78]
push eax
push 0x26200a
push 2
lea eax, [esp + 0x48]
push eax
push dword [ebx + 4]
call dword [0x45f6ec]
test eax, eax
je 0x420d85
mov dword [ebx + 8], eax
cmp dword [esp + 0x88], 0
je 0x421024
xor ecx, ecx
lea eax, [esp + 0x38]
push eax
push ecx
push dword [esp + 0x7c]
mov byte [esp + 0x1f], cl
mov dword [esp + 0x44], ecx
call dword [0x45f6f0]
and dword [esp + 0x4c], 0
lea edi, [esp + 0x50]
mov ebp, dword [esp + 0x38]
xor eax, eax
stosd dword es:[edi], eax
mov dword [esp + 0x24], ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov edi, dword [0x45f714]
push eax
push ebp
call edi
mov eax, dword [esp + 0x18]
and eax, 0xff00
cmp eax, 0x2000
je 0x420def
lea eax, [esp + 0x4c]
push eax
push 0x26200a
jmp 0x420e00
lea eax, [esp + 0x18]
push eax
push ebp
call edi
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
push 1
lea eax, [esp + 0x48]
push eax
push ebp
call dword [0x45f6ec]
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x420f6b
mov eax, dword [esp + 0x54]
cdq
xor eax, edx
sub eax, edx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x1c], eax
jge 0x420ee3
test esi, esi
je 0x420f54
and dword [esp + 0x20], 0
mov eax, dword [esp + 0x2c]
mov bl, byte [esp + 0x13]
mov ebp, dword [esp + 0x1c]
shl eax, 2
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x88]
sub edi, esi
push ebp
add eax, esi
push edi
push eax
call fcn.0045e128
rol byte [ebx], cl
add byte [ebx + 0x2c2464], al
add esp, 0xc
mov dword [esp + 0x1c], 0xff000000
test bl, bl
jne 0x420ec5
mov eax, dword [esp + 0x34]
xor ebx, ebx
add eax, edi
xor edx, edx
mov ecx, eax
sub ecx, edi
add ecx, 3
shr ecx, 2
cmp edi, eax
mov eax, dword [esp + 0x20]
cmova ecx, ebx
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x420eb2
or eax, dword [edi]
and ebx, dword [edi]
inc edx
lea edi, [edi + 4]
cmp edx, ecx
jb 0x420ea6
mov ecx, 0xff000000
test ecx, eax
je 0x420ec3
cmp ebx, ecx
je 0x420ec3
mov bl, 1
jmp 0x420ec5
xor bl, bl
add esi, dword [esp + 0x34]
dec dword [esp + 0x18]
je 0x420ed5
mov edi, dword [esp + 0x5c]
jmp 0x420e5a
mov esi, dword [esp + 0x28]
mov byte [esp + 0x13], bl
mov ebx, dword [esp + 0x14]
jmp 0x420f50
imul eax, esi
push eax
push edi
push dword [esp + 0x90]
call fcn.0045e128
mov edx, dword [esp + 0x68]
and al, 0x68
mov eax, esi
imul eax, dword [esp + 0x38]
xor edi, edi
and dword [esp + 0x34], edi
add esp, 0xc
and dword [esp + 0x14], edi
mov ebp, 0xff000000
lea eax, [edx + eax*4]
mov ecx, eax
sub ecx, edx
add ecx, 3
shr ecx, 2
cmp edx, eax
cmova ecx, dword [esp + 0x28]
test ecx, ecx
je 0x420f39
mov eax, dword [esp + 0x14]
or edi, dword [edx]
and ebp, dword [edx]
inc eax
lea edx, [edx + 4]
cmp eax, ecx
jb 0x420f2d
mov eax, 0xff000000
test eax, edi
je 0x420f4b
mov byte [esp + 0x13], 1
cmp ebp, eax
jne 0x420f50
mov byte [esp + 0x13], 0
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
push ebp
call dword [0x45f7e0]
cmp byte [esp + 0x13], 0
jne 0x421008
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x78]
call dword [0x45f6f0]
and dword [esp + 0xa8], 0
lea edi, [esp + 0xac]
xor eax, eax
mov ebp, dword [esp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0xa8]
push eax
push 0x26200a
push 1
lea eax, [esp + 0x48]
push eax
push ebp
call dword [0x45f6ec]
mov edi, dword [esp + 0xb8]
test edi, edi
je 0x420ffd
imul esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x88]
test esi, esi
je 0x420fee
mov ecx, dword [edi]
lea edi, [edi + 4]
shl ecx, 0x18
not ecx
mov eax, ecx
and eax, 0xff000000
or eax, dword [edx]
and eax, ecx
mov dword [edx], eax
lea edx, [edx + 4]
dec esi
jne 0x420fd1
lea eax, [esp + 0xa8]
push eax
push ebp
call dword [0x45f7e0]
push ebp
call dword [0x45f6f4]
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x78]
push eax
push dword [ebx + 4]
call dword [0x45f7e0]
test eax, eax
je 0x42101d
mov dword [ebx + 8], eax
push ebp
call dword [0x45f6f4]
push dword [esp + 0x74]
mov esi, dword [0x45f0b4]
call esi
push dword [esp + 0x70]
call esi
push ebx
jmp 0x42106d
push 0x10
call dword [0x45f754]
mov esi, eax
test esi, esi
je 0x42106a
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esi], 0x4664ec
call dword [0x45f708]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
jmp 0x42106c
xor esi, esi
push esi
mov ecx, dword [esp + 0x34]
call fcn.00420982
invalid
inc esp