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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
movzx ecx, byte [ebp + 0xc]
and ecx, 2
mov byte [ebp - 0x1d], cl
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x44]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x46]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x40]
mov ecx, dword [ebp - 0x18]
mov dx, word [edx + ecx*2]
mov ch, dl
mov cl, dh
movzx edx, cx
and eax, edx
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx + 0x38]
mov dword [ebp - 8], eax
movzx edx, byte [ebp - 0x1d]
test edx, edx
je 0x428529
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x428503
mov edx, dword [ebp - 0x1c]
movzx esi, word [edx + 0x14]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0041edb0
add esp, 8
movzx edx, ax
lea ecx, [esi + edx + 2]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
shl eax, 1
xor edx, edx
mov esi, 3
div esi
cmp ecx, eax
jle 0x428522
mov eax, dword [ebp + 8]
push eax
call fcn.0041e330
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x428520
mov eax, dword [ebp - 0xc]
jmp 0x42884f
jmp 0x428529
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 8]
test edx, edx
jne 0x428553
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00424520
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x428553
mov eax, dword [ebp - 0xc]
jmp 0x42884f
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
and edx, 0x20
je 0x428587
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041e440
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x428587
mov eax, dword [ebp - 0xc]
jmp 0x42884f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x70], 0
jne 0x4285b0
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041e150
add esp, 0x14
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x48]
push eax
call fcn.004193f0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4285d0
mov eax, dword [ebp - 0xc]
jmp 0x42884f
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004250e0
add esp, 0xc
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
push ecx
movzx edx, word [ebp - 0x26]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00425660
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x42860e
mov eax, dword [ebp - 0xc]
jmp 0x42884f
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 8]
test eax, eax
jne 0x42872f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x44]
sub ecx, 1
cmp dword [ebp - 0x3c], ecx
jge 0x428647
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x7c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x44], edx
jmp 0x428653
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax + 0x18]
mov edx, dword [ebp - 0x40]
movzx eax, word [edx + 0x16]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x40]
mov ax, word [edx + eax*2 - 2]
mov dh, al
mov dl, ah
movzx eax, dx
and ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, dword [edx + 0x38]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x38]
add ecx, 4
cmp dword [ebp - 8], ecx
jae 0x42869e
push 0x10a17
call fcn.004899a0
add esp, 4
jmp 0x42884f
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x4c]
call edx
add esp, 8
movzx eax, ax
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x48]
push ecx
call fcn.004193f0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x428702
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
add edx, 4
push edx
mov eax, dword [ebp - 8]
sub eax, 4
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004257e0
add esp, 0x1c
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x40]
movzx eax, word [edx + 0x16]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00425660
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x42872f
mov eax, dword [ebp - 0xc]
jmp 0x42884f
mov edx, dword [ebp + 8]
push edx
call fcn.00427de0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4287cf
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x44]
cmp ecx, dword [ebp - 0x3c]
jle 0x4287cf
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
push eax
call fcn.00420290
add esp, 4
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x44]
sub dl, 1
mov eax, dword [ebp + 8]
mov byte [eax + 0x44], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x44]
cmp edx, dword [ebp - 0x3c]
jle 0x4287ac
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x44]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4 + 0x78]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x44]
sub dl, 1
mov eax, dword [ebp + 8]
mov byte [eax + 0x44], dl
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004202b0
add esp, 4
jmp 0x428772
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x44]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 + 0x78]
mov dword [ecx + 0x74], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00427de0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42884c
cmp dword [ebp - 0x14], 0
je 0x428816
mov edx, dword [ebp + 8]
mov byte [edx], 2
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x16]
cmp dword [ebp - 0x18], ecx
jl 0x42880a
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0xffffffff
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x16]
sub ecx, 1
mov edx, dword [ebp + 8]
mov word [edx + 0x46], cx
jmp 0x428814
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 1
jmp 0x42884c
mov ecx, dword [ebp + 8]
push ecx
call fcn.004236c0
add esp, 4
mov dword [ebp - 0xc], eax
movzx edx, byte [ebp - 0x1d]
test edx, edx
je 0x42883f
mov eax, dword [ebp + 8]
push eax
call fcn.0041e2d0
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [ecx], 3
cmp dword [ebp - 0xc], 0x10
jne 0x42884c
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
pop esi
mov esp, ebp
pop ebp
ret