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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b59c0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
mov esi, dword [edi + 0xfc]
mov dword [esp + 0x14], edi
add edi, 0xec
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], edi
cmp dword [edi + 0xc], esi
jbe 0x428062
call fcn.0048b3f2
mov ebx, dword [edi + 0xc]
mov edx, dword [edi]
mov dword [esp + 0x2c], edx
cmp ebx, dword [edi + 0x10]
jbe 0x428075
call fcn.0048b3f2
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
push esi
push ecx
push ebx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.004390e0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x4280a2
push eax
call fcn.00417ce0
jmp 0x42827f
lea ecx, [esp + 0x1c]
call fcn.00409570
mov dword [esp + 0x78], ebx
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x42827f
mov ecx, dword [esi]
mov eax, dword [ecx + 0x40]
lea edx, [esp + 0x3c]
push edx
push esi
call eax
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ebx
je 0x428265
jmp 0x4280f5
mov edi, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], cx
lea edx, [esp + 0x4c]
push edx
push ecx
push ebx
mov byte [esp + 0x84], 1
call fcn.0042ae00
add esp, 4
push eax
call fcn.0047ba60
add esp, 8
test ebx, ebx
jne 0x4281cd
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x34]
mov eax, edi
call fcn.00417f10
mov eax, edi
mov byte [esp + 0x78], 2
call fcn.00428b50
cmp dword [esp + 0x64], 8
mov esi, dword [esp + 0x50]
jae 0x42815e
lea esi, [esp + 0x50]
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], edi
test edi, edi
je 0x428173
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00425c40
mov esi, dword [esp + 0x3c]
add esp, 8
cmp dword [esi - 0xc], 0
je 0x4281aa
mov eax, esi
lea ecx, [edi + 0x4c]
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x428194
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.00403b30
lea eax, [esi - 0x10]
mov byte [esp + 0x78], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428222
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x428222
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x50]
jae 0x4281dc
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x28]
push 0
push ecx
push eax
lea edx, [esp + 0x48]
push edx
lea ebx, [esp + 0x30]
call fcn.00426e60
add esp, 0x10
mov byte [esp + 0x78], 3
mov esi, dword [esp + 0x20]
test esi, esi
je 0x42820d
mov edi, dword [esp + 0x38]
mov eax, ebx
call fcn.0042af00
mov byte [esp + 0x78], 1
test esi, esi
je 0x42821e
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x78], 0
cmp dword [esp + 0x64], 8
jb 0x42823b
mov edx, dword [esp + 0x50]
push edx
call fcn.00480ff0
add esp, 4
inc ebx
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x2c]
jb 0x4280f1
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00417ce0
mov dword [esp + 0x78], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 4