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

Disassembly:
push 0xffffffffffffffff
push 0x4826e0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
mov eax, dword [0x4a1620]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
push 0xffffffffffffffff
lea ecx, [edi + 0x129c]
push 0
call fcn.0045147c
mov eax, dword [edi + 0x2e0]
mov esi, dword [edi + 0xbc]
push 0x18
push eax
push 8
push 0x1c
mov ecx, 0xc454c4
call fcn.00402610
add esp, 0x10
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0xbc]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
add ecx, edx
push ecx
push eax
call ebx
test eax, eax
jne 0x420f07
or eax, 0xffffffff
jmp 0x420f13
mov eax, dword [esp + 0x30]
test eax, eax
je 0x421397
mov esi, dword [edi + 0xbc]
push 0
lea ebp, [eax + 4]
push 4
lea eax, [esp + 0x3c]
push eax
push ebp
push esi
mov dword [esp + 0x38], ebp
call ebx
test eax, eax
je 0x420f57
mov eax, dword [esp + 0x34]
push 0
push 4
lea ecx, [esp + 0x40]
push ecx
add eax, 0x14
push eax
push esi
call ebx
test eax, eax
je 0x420f57
cmp dword [esp + 0x38], 0x80000000
je 0x421397
mov esi, dword [edi + 0xbc]
push 0
push 4
lea edx, [esp + 0x44]
push edx
push ebp
push esi
call ebx
test eax, eax
jne 0x420f78
mov dword [esp + 0x1c], 0xfffffffe
jmp 0x420fa2
mov eax, dword [esp + 0x3c]
push 0
push 4
lea ecx, [esp + 0x48]
push ecx
add eax, 0x44
push eax
push esi
call ebx
test eax, eax
jne 0x420f9a
mov dword [esp + 0x1c], 0xffffffeb
jmp 0x420fa2
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
mov esi, dword [edi + 0xbc]
push 0
push 4
lea eax, [esp + 0x4c]
push eax
push ebp
push esi
call ebx
test eax, eax
jne 0x420fc0
mov ebp, 0xfffffffe
jmp 0x420fe1
mov eax, dword [esp + 0x44]
push 0
push 4
lea ecx, [esp + 0x50]
push ecx
add eax, 0x3c
push eax
push esi
call ebx
test eax, eax
mov ebp, 0xffffffeb
je 0x420fe1
mov ebp, dword [esp + 0x48]
mov esi, dword [edi + 0xbc]
push 0x44
push 0x28
push 0x1c
mov ecx, 0xc454c4
call fcn.00402570
mov esi, dword [edi + 0xbc]
add esp, 0xc
push eax
push 0x3c
push 0x28
push 0x1c
mov ecx, 0xc454c4
call fcn.00402570
mov edx, dword [esp + 0x2c]
add esp, 0xc
push eax
push edx
mov eax, ebp
call fcn.0040c4e0
cmp eax, 0xa
jge 0x421397
mov ecx, dword [esp + 0x24]
mov esi, dword [edi + 0xbc]
push 0
push 4
lea eax, [esp + 0x54]
push eax
push ecx
push esi
call ebx
test eax, eax
jne 0x42104f
mov dword [esp + 0x1c], 0xfffffffe
jmp 0x42107b
mov eax, dword [esp + 0x4c]
push 0
push 4
lea edx, [esp + 0x58]
push edx
add eax, 0x16c
push eax
push esi
call ebx
test eax, eax
jne 0x421073
mov dword [esp + 0x1c], 0xffffffeb
jmp 0x42107b
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x1290]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x18], ebp
jle 0x421397
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x58]
mov edx, edi
call fcn.00419e70
mov esi, eax
test ebp, ebp
mov dword [esp + 0x78], 0
jl 0x4213cd
cmp ebp, dword [edi + 0x1290]
jge 0x4213cd
mov edx, dword [edi + 0x128c]
mov ecx, dword [edx + ebp*4]
test ecx, ecx
lea eax, [edx + ebp*4]
jne 0x4210d6
or eax, 0xffffffff
jmp 0x4210f8
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jge 0x4210e3
or eax, 0xffffffff
jmp 0x4210f8
push ecx
push eax
call fcn.004665a4
add esp, 8
test eax, eax
jne 0x4210f6
or eax, 0xffffffff
jmp 0x4210f8
sub eax, dword [esi]
test eax, eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x54]
setge bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421125
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42129a
mov ecx, dword [edi + 0x2e8]
mov esi, dword [edi + 0xbc]
push 0x10
push ecx
push 0x28
xor ebp, ebp
push 0x1c
mov ecx, 0xc454c4
mov dword [esp + 0x30], ebp
call fcn.00402610
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [esp + 0x64], ebx
jle 0x42119b
lea ecx, [ecx]
mov eax, dword [edi + 0x2e8]
mov esi, dword [edi + 0xbc]
lea edx, [ebp*4]
push edx
push 0xc
push eax
call fcn.004026d0
add esp, 0xc
test eax, eax
jne 0x421188
add dword [esp + 0x20], 1
add ebp, 1
cmp ebp, ebx
jl 0x421160
mov ecx, dword [esp + 0x20]
test ecx, ecx
jg 0x4212b0
test ebx, ebx
mov dword [esp + 0x28], 0
jle 0x421296
xor ebp, ebp
mov edx, dword [esp + 0x24]
mov esi, dword [edi + 0xbc]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea ecx, [esp + 0x60]
push ecx
push edx
push esi
call ebx
test eax, eax
jne 0x4211d8
mov dword [esp + 0x20], 0xfffffffe
jmp 0x421204
mov eax, dword [esp + 0x58]
push 0
push 4
lea ecx, [esp + 0x64]
push ecx
add eax, 0x110
push eax
push esi
call ebx
test eax, eax
jne 0x4211fc
mov dword [esp + 0x20], 0xffffffeb
jmp 0x421204
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0x2e8]
mov esi, dword [edi + 0xbc]
push 8
push ebp
push eax
call fcn.004027b0
mov ecx, dword [edi + 0x2e8]
mov esi, dword [edi + 0xbc]
add esp, 0xc
push 0x14
push ebp
push ecx
mov ebx, eax
call fcn.004027b0
mov edx, dword [edi + 0x2e8]
mov esi, dword [edi + 0xbc]
add esp, 0xc
push 0x18
push ebp
push edx
mov dword [esp + 0x6c], eax
call fcn.004027b0
add esp, 0xc
cmp dword [esp + 0x20], ebx
jne 0x42125e
cmp dword [esp + 0x60], eax
jl 0x421278
mov eax, dword [esp + 0x28]
add eax, 1
add ebp, 4
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
jl 0x4211ad
jmp 0x421296
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x12a4]
lea ecx, [edi + 0x129c]
push eax
push edx
call fcn.004515a0
mov byte [edi + 0x1284], 1
mov ebp, dword [esp + 0x18]
add ebp, 1
cmp ebp, dword [esp + 0x68]
mov dword [esp + 0x18], ebp
jl 0x421093
jmp 0x421397
mov ebp, 1
cmp dword [edi + 0x354], ebp
jne 0x421379
mov eax, dword [edi + 0x14dc]
test eax, eax
jle 0x421379
cmp ecx, eax
jg 0x421379
xor esi, esi
cmp dword [edi + 0x544], esi
jle 0x421372
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x70]
mov edx, edi
call fcn.00419e70
test esi, esi
mov dword [esp + 0x78], ebp
jl 0x4213cd
cmp esi, dword [edi + 0x544]
jge 0x4213cd
mov ecx, dword [edi + 0x540]
lea ecx, [ecx + esi*4]
mov ecx, dword [ecx]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
je 0x4213c3
mov eax, dword [eax]
push ecx
push eax
call fcn.00466452
add esp, 8
test eax, eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x6c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x421397
add esi, ebp
cmp esi, dword [edi + 0x544]
jl 0x4212e5
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x42137e
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [edi + 0x12a4]
lea ecx, [edi + 0x129c]
push edx
call fcn.004515a0
mov byte [edi + 0x1284], 1
mov ecx, dword [esp + 0x14]
add ecx, 4
cmp ecx, 0xc04
mov dword [esp + 0x14], ecx
jl 0x420edf
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push 0x80004005
call fcn.004012e0
jmp fcn.0044c4a2