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

Disassembly:
push 0xffffffffffffffff
push 0x482678
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a1620]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x84]
lea ecx, [esp + 0x4c]
call fcn.00451068
xor edi, edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], edi
call fcn.0044ee5a
mov byte [esp + 0x7c], 1
mov eax, dword [ebx + 0x2e4]
mov esi, dword [ebx + 0xbc]
push 0x18
push eax
push 8
push 0x1c
mov ecx, 0xc454c4
call fcn.00402610
mov dword [esp + 0x30], edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 0x10
mov dword [esp + 0x1c], eax
jmp 0x421917
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xbc]
push 0
push 4
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call edi
test eax, eax
jne 0x42193c
mov dword [esp + 0x14], 0xffffffff
jmp 0x42194c
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x14], eax
je 0x421b8d
mov ebp, dword [esp + 0x14]
mov esi, dword [ebx + 0xbc]
push 0
push 4
lea eax, [esp + 0x30]
push eax
add ebp, 4
push ebp
push esi
call edi
test eax, eax
jne 0x421974
mov dword [esp + 0x18], 0xfffffffe
jmp 0x42199e
mov eax, dword [esp + 0x28]
push 0
push 4
lea ecx, [esp + 0x34]
push ecx
add eax, 0x44
push eax
push esi
call edi
test eax, eax
jne 0x421996
mov dword [esp + 0x18], 0xffffffeb
jmp 0x42199e
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov esi, dword [ebx + 0xbc]
push 0
push 4
lea eax, [esp + 0x38]
push eax
push ebp
push esi
call edi
test eax, eax
jne 0x4219bc
mov ebp, 0xfffffffe
jmp 0x4219dd
mov eax, dword [esp + 0x30]
push 0
push 4
lea ecx, [esp + 0x3c]
push ecx
add eax, 0x3c
push eax
push esi
call edi
test eax, eax
mov ebp, 0xffffffeb
je 0x4219dd
mov ebp, dword [esp + 0x34]
mov esi, dword [ebx + 0xbc]
push 0x44
push 0x28
push 0x1c
mov ecx, 0xc454c4
call fcn.00402570
mov esi, dword [ebx + 0xbc]
add esp, 0xc
push eax
push 0x3c
push 0x28
push 0x1c
mov ecx, 0xc454c4
call fcn.00402570
mov edx, dword [esp + 0x28]
add esp, 0xc
push eax
push edx
mov eax, ebp
call fcn.0040c4e0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x421a35
mov eax, dword [esp + 0x14]
push eax
push 0
jmp 0x421b84
xor ebx, ebx
test eax, eax
jle 0x421b91
nop
test ebx, ebx
jl 0x421bf0
cmp ebx, eax
jge 0x421bf0
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + ebx*4]
mov ebp, dword [esp + 0x84]
mov esi, dword [ebp + 0xbc]
push 0
push 4
lea edx, [esp + 0x40]
push edx
add eax, 4
push eax
push esi
call edi
test eax, eax
jne 0x421a82
mov dword [esp + 0x18], 0xfffffffe
jmp 0x421aac
mov eax, dword [esp + 0x38]
push 0
push 4
lea ecx, [esp + 0x44]
push ecx
add eax, 0x44
push eax
push esi
call edi
test eax, eax
jne 0x421aa4
mov dword [esp + 0x18], 0xffffffeb
jmp 0x421aac
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
cmp ebx, dword [esp + 0x54]
jge 0x421bf0
mov eax, dword [esp + 0x50]
mov eax, dword [eax + ebx*4]
mov esi, dword [ebp + 0xbc]
push 0
push 4
lea ecx, [esp + 0x48]
push ecx
add eax, 4
push eax
push esi
call edi
test eax, eax
jne 0x421ade
mov ebp, 0xfffffffe
jmp 0x421aff
mov eax, dword [esp + 0x40]
push 0
push 4
lea edx, [esp + 0x4c]
push edx
add eax, 0x3c
push eax
push esi
call edi
test eax, eax
mov ebp, 0xffffffeb
je 0x421aff
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
mov esi, dword [eax + 0xbc]
push 0x44
push 0x28
push 0x1c
mov ecx, 0xc454c4
call fcn.00402570
mov edx, dword [esp + 0x90]
mov esi, dword [edx + 0xbc]
add esp, 0xc
push eax
push 0x3c
push 0x28
push 0x1c
mov ecx, 0xc454c4
call fcn.00402570
add esp, 0xc
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, ebp
call fcn.0040c4e0
cmp dword [esp + 0x48], eax
jl 0x421b6b
mov eax, dword [esp + 0x54]
lea ecx, [eax - 1]
cmp ebx, ecx
je 0x421b7e
add ebx, 1
cmp ebx, eax
jl 0x421a40
jmp 0x421b91
mov edx, dword [esp + 0x14]
push 1
push edx
push ebx
lea ecx, [esp + 0x58]
call fcn.0045108f
jmp 0x421b8d
mov ecx, dword [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.004515a0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x1c], 4
add ecx, 1
cmp ecx, 0x301
mov dword [esp + 0x20], ecx
jl 0x421910
xor ebp, ebp
test eax, eax
jle 0x421c6f
mov ebx, dword [esp + 0x84]
mov edi, edi
test ebp, ebp
jl 0x421bf0
cmp ebp, eax
jge 0x421bf0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + ebp*4]
mov esi, dword [ebx + 0xbc]
push 0
push 4
lea ecx, [esp + 0x50]
push ecx
add eax, 4
push eax
push esi
call edi
test eax, eax
jne 0x421bf5
mov eax, 0xfffffffe
jmp 0x421c18
call fcn.0044c4a2
mov eax, dword [esp + 0x48]
push 0
push 4
lea edx, [esp + 0x4c]
push edx
add eax, 0x294
push eax
push esi
call edi
test eax, eax
mov eax, 0xffffffeb
je 0x421c18
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x44]
mov edx, ebx
call fcn.00419e70
push eax
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x68]
call fcn.0044f205
mov byte [esp + 0x7c], 1
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421c60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
add ebp, 1
cmp ebp, eax
jl 0x421bc0
mov eax, dword [esp + 0x68]
xor ebx, ebx
test eax, eax
mov ebp, eax
je 0x421e26
test ebx, ebx
jl 0x421bf0
cmp ebx, eax
jge 0x421bf0
mov ecx, dword [esp + 0x64]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x421cbd
cmp eax, dword [esi]
jne 0x421cbd
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x421cf3
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x421f2d
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00465e9e
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x20], edi
add ebp, 0xffffffff
cmp ebp, ebx
mov byte [esp + 0x7c], 3
jle 0x421df0
lea ebx, [ebx]
test ebp, ebp
jl 0x421bf0
cmp ebp, dword [esp + 0x68]
jge 0x421bf0
mov edx, dword [esp + 0x64]
mov esi, dword [edx + ebp*4]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x421d50
cmp eax, dword [esi]
jne 0x421d50
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x421d86
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x421f2d
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00465e9e
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [esp + 0x48], esi
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x7c], 4
test eax, eax
je 0x421f32
mov edx, dword [esp + 0x20]
push esi
push edx
call fcn.00466452
add esp, 8
test eax, eax
sete al
test al, al
je 0x421dc4
push 1
push ebp
lea ecx, [esp + 0x68]
call fcn.0044f02c
lea eax, [esi - 0x10]
mov byte [esp + 0x7c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421de5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub ebp, 1
cmp ebp, ebx
jg 0x421d10
mov byte [esp + 0x7c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add ebx, 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421e18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
cmp ebx, eax
mov ebp, eax
jne 0x421c7f
xor ebp, ebp
test eax, eax
jle 0x421ef6
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test ebp, ebp
jl 0x421bf0
cmp ebp, eax
jge 0x421bf0
mov ecx, dword [esp + 0x64]
mov esi, dword [ecx + ebp*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x421e74
cmp eax, dword [esi]
jne 0x421e74
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x421eaa
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x421f2d
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00465e9e
add esp, 0x10
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x3fbc]
mov eax, dword [eax + 0x78]
mov ecx, dword [eax + 0x20]
lea esi, [edi + 0x10]
push esi
push 0
push 0x180
push ecx
call ebx
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421ee7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
add ebp, 1
cmp ebp, eax
jl 0x421e36
lea ecx, [esp + 0x60]
mov byte [esp + 0x7c], 0
call fcn.0044f09f
lea ecx, [esp + 0x4c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0045107f
mov al, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4
call fcn.00401430
push 0x80004005
call fcn.004012e0
int3