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

Disassembly:
push 0xffffffffffffffff
push 0x497f30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
push edi
xor edi, edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov esi, dword [esp + 0x6c]
cmp word [esi], di
mov byte [esp + 0x60], 1
mov eax, esi
je 0x420968
add eax, 2
cmp word [eax], di
jne 0x420960
sub eax, esi
test eax, 0xfffffffe
jne 0x4209a4
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], 0
call fcn.0047ca90
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xffffffff
call fcn.0047ca90
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov eax, dword [0x4b0274]
test eax, eax
jne 0x4209de
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], al
call fcn.0047ca90
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xffffffff
call fcn.0047ca90
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
push ebx
push 0x4b01b4
call fcn.00453490
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + 0xa0]
add esp, 4
cmp eax, 0x1a
je 0x420a48
cmp eax, 0x1c
je 0x420a48
cmp eax, edi
je 0x420a48
mov ecx, dword [esp + 0x74]
push ecx
push esi
push ebx
call fcn.00420730
add esp, 0xc
lea ecx, [esp + 0x54]
mov esi, eax
mov byte [esp + 0x64], 0
call fcn.0047ca90
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xffffffff
call fcn.0047ca90
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
push esi
lea ecx, [esp + 0x58]
call fcn.0047bfd0
mov ecx, dword [esp + 0x58]
cmp byte [ecx], 0
mov eax, ecx
je 0x420a68
lea ecx, [ecx]
add eax, 1
cmp byte [eax], 0
jne 0x420a60
sub eax, ecx
push edi
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.0047c1c0
mov dword [esp + 0xc], eax
push ebp
mov ecx, dword [ebx + 0x48]
cmp ecx, 3
mov eax, dword [esp + 0x78]
jmp 0x420a90
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
jne 0x420b49
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x78]
push ecx
push eax
add ebx, 0x28
push ebx
mov ebp, eax
call fcn.004054c0
add esp, 0x10
cmp eax, edi
je 0x420c00
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
mov ecx, dword [eax + 8]
test ecx, ecx
lea ecx, [ecx + eax + 0x16]
jne 0x420ad5
lea ecx, [eax + 0x15]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
call fcn.0047aa30
add esp, 0x10
cmp eax, dword [esp + 0x2c]
jl 0x420b04
cmp eax, dword [esp + 0x10]
je 0x421069
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ebp
mov ecx, dword [ebx]
mov eax, dword [ecx + edi*4]
add esi, 1
add ebp, 1
cmp esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
jge 0x420b24
mov ecx, dword [eax + 8]
lea edx, [ecx + esi*4 + 0x14]
mov eax, dword [edx + eax]
jmp 0x420b40
add edi, 1
cmp edi, dword [ebx + 4]
jge 0x420c00
mov ecx, dword [ecx + edi*4]
mov eax, dword [ecx + 8]
mov eax, dword [eax + ecx + 0x14]
xor esi, esi
mov dword [esp + 0x1c], esi
test eax, eax
jne 0x420ac7
jmp 0x420c00
cmp ecx, 4
jne 0x420c00
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
push eax
add ebx, 0x28
push ebx
mov ebp, eax
call fcn.004054c0
add esp, 0x10
test eax, eax
je 0x420c00
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
nop
test byte [eax], 1
mov eax, dword [eax + 9]
je 0x420b91
lea ecx, [eax + 0xd]
movzx eax, byte [eax + 0xc]
jmp 0x420b98
lea ecx, [eax + 5]
movzx eax, byte [eax + 4]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call fcn.0047aa30
add esp, 0x10
cmp eax, dword [esp + 0x30]
jl 0x420bc4
cmp eax, dword [esp + 0x10]
je 0x421069
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebp
mov ecx, dword [ebx]
mov eax, dword [ecx + edi*4]
add esi, 1
add ebp, 1
cmp esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
jge 0x420be4
mov edx, dword [eax + 8]
lea ecx, [edx + esi*4 + 0x14]
mov eax, dword [ecx + eax]
jmp 0x420bfc
add edi, 1
cmp edi, dword [ebx + 4]
jge 0x420c00
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + ecx + 0x14]
xor esi, esi
mov dword [esp + 0x1c], esi
test eax, eax
jne 0x420b80
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
xor ecx, ecx
sub eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x20], ecx
js 0x420db9
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edi, dword [edx + esi*4]
mov eax, dword [edi + 8]
mov ebp, dword [eax + edi + 0x14]
movzx eax, byte [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
push eax
lea ebx, [ebp + 0xd]
push ebx
push ecx
push edx
call fcn.00403cf0
mov edi, dword [edi + 0x10]
add esp, 0x10
cmp edi, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
jl 0x420cc3
movzx eax, byte [ebp + 0xc]
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x14]
push ebx
push eax
push ecx
call fcn.0047aa30
add esp, 0x10
cmp eax, dword [esp + 0x20]
jl 0x420ca3
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x420cb4
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x420cce
mov dword [esp + 0x74], esi
jne 0x420cc7
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x420cce
mov dword [esp + 0x74], esi
add esi, 1
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], edx
jle 0x420c26
cmp dword [esp + 0x74], 0xffffffff
je 0x420db9
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [esp + 0x74]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0xc]
xor ebp, ebp
sub ecx, 1
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
lea edx, [ecx + eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], eax
js 0x420db9
jmp 0x420d20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov esi, eax
sar esi, 1
add esi, ebp
mov edi, dword [ecx + esi*4]
movzx eax, byte [edi + 0xc]
push eax
mov eax, dword [esp + 0x58]
lea ebx, [edi + 0xd]
push ebx
push edx
push eax
call fcn.00403cf0
mov ecx, dword [esp + 0x2c]
lea edx, [esi + ecx]
add esp, 0x10
cmp edx, dword [esp + 0x78]
mov dword [esp + 0x24], eax
jl 0x420dac
movzx eax, byte [edi + 0xc]
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x14]
push ebx
push eax
push ecx
call fcn.0047aa30
add esp, 0x10
cmp eax, dword [esp + 0x20]
jl 0x420d90
mov edx, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x420da1
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x420daf
jne 0x420dac
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x420daf
lea ebp, [esi + 1]
cmp ebp, dword [esp + 0x14]
jle 0x420d20
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x10]
je 0x42109d
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x18]
xor ecx, ecx
sub eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x28], ecx
js 0x420f8c
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x70]
sar esi, 1
add esi, ecx
mov ecx, dword [eax + 0x14]
mov edi, dword [ecx + esi*4]
mov edx, dword [edi + 8]
mov ebp, dword [edx + edi + 0x14]
movzx eax, byte [ebp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
push eax
lea ebx, [ebp + 5]
push ebx
push ecx
push edx
call fcn.00403cf0
mov edi, dword [edi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
add edi, dword [eax + 0x3c]
add esp, 0x10
cmp edi, dword [esp + 0x78]
mov dword [esp + 0x1c], edi
jl 0x420e98
movzx ecx, byte [ebp + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
push ecx
push ebx
push edx
push eax
call fcn.0047aa30
add esp, 0x10
cmp eax, dword [esp + 0x28]
jl 0x420e78
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x420e89
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x420ea3
mov dword [esp + 0x74], esi
jne 0x420e9c
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x420ea3
mov dword [esp + 0x74], esi
add esi, 1
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x18], ecx
jle 0x420df0
cmp dword [esp + 0x74], 0xffffffff
je 0x420f8c
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x14]
mov eax, dword [esp + 0x74]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
lea edx, [edx + eax + 0x14]
mov eax, dword [eax + 0x10]
add eax, dword [ecx + 0x3c]
sub ebp, 1
test ebp, ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], eax
jl 0x420f8c
mov ecx, dword [esp + 0x18]
mov eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x34]
sar esi, 1
add esi, ecx
mov edi, dword [eax + esi*4]
movzx ecx, byte [edi + 4]
mov eax, dword [esp + 0x54]
push ecx
lea ebx, [edi + 5]
push ebx
push edx
push eax
call fcn.00403cf0
mov ecx, dword [esp + 0x2c]
lea edx, [esi + ecx]
add esp, 0x10
cmp edx, dword [esp + 0x78]
mov dword [esp + 0x24], eax
jl 0x420f7b
movzx eax, byte [edi + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
push eax
push ebx
push ecx
push edx
call fcn.0047aa30
add esp, 0x10
cmp eax, dword [esp + 0x28]
jl 0x420f67
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x420f74
lea ebp, [esi - 1]
jmp 0x420f82
jne 0x420f7b
lea ebp, [esi - 1]
jmp 0x420f82
add esi, 1
mov dword [esp + 0x18], esi
cmp dword [esp + 0x18], ebp
jle 0x420ef5
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 0x48]
cmp ecx, 3
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
jne 0x420fec
cmp edx, esi
jl 0x420fec
cmp edx, eax
jl 0x420fec
cmp edx, dword [esp + 0x10]
jne 0x42104b
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.0047ca90
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.0047ca90
mov eax, dword [esp + 0x48]
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
cmp ecx, 4
mov ecx, dword [esp + 0x30]
jne 0x421039
cmp ecx, esi
jl 0x421039
cmp ecx, eax
jl 0x421039
cmp ecx, dword [esp + 0x10]
jne 0x42104b
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.0047ca90
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.0047ca90
mov eax, dword [esp + 0x4c]
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
cmp eax, esi
jl 0x421045
cmp eax, edx
jl 0x421045
cmp eax, ecx
jge 0x42104b
cmp esi, dword [esp + 0x10]
je 0x4210b6
cmp dword [esp + 0x78], 0
je 0x421101
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x78], 0
xor edi, edi
jmp 0x420a7b
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.0047ca90
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.0047ca90
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [esp + 0x38]
mov ecx, dword [ecx + edx*4]
mov esi, dword [ecx + 0x10]
add esi, dword [eax + 0x44]
add esi, dword [esp + 0x3c]
jmp 0x4210cd
mov edx, dword [edi + 0x14]
mov eax, dword [esp + 0x40]
mov ecx, dword [edx + eax*4]
mov esi, dword [ecx + 0x10]
add esi, dword [edi + 0x44]
add esi, dword [edi + 0x3c]
add esi, dword [esp + 0x44]
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.0047ca90
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.0047ca90
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.0047ca90
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x60]
pop ebp
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov dword fs:[0], ecx
add esp, 0x5c
ret