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

Disassembly:
push 0xffffffffffffffff
push 0x452cfc
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468d80]
xor eax, esp
push eax
lea eax, [esp + 0x1ec]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
lea ecx, [esp + 0x120]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x60]
call fcn.004147c0
mov ebp, dword [esp + 0x1fc]
mov ebx, dword [esp + 0x208]
mov esi, dword [ebp + 0x3f0]
mov edx, dword [ebx]
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x38], edx
test esi, esi
je 0x416a83
cmp dword [esi + 0x68], 0
jne 0x416a04
mov ecx, esi
call fcn.0040d180
mov ecx, esi
call fcn.0040d0c0
cmp dword [esi + 0x6c], 8
jb 0x416a16
mov esi, dword [esi + 0x58]
jmp 0x416a19
add esi, 0x58
push esi
lea ecx, [esp + 0x37]
call fcn.00408f50
mov dword [esp + 0x20], eax
test eax, eax
je 0x416a83
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
push 0
push eax
mov eax, dword [ebx]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x210]
push 0x32
push 0x32
push eax
push ecx
push 0x5000004e
push 0x458ad8
push 0x458adc
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [esp + 0x20]
push edx
push 0
mov esi, eax
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
add dword [esp + 0x200], 0x37
add dword [esp + 0x38], 0x32
mov dword [esp + 0x60], esi
mov eax, dword [ebp + 0x4ec]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
cmp eax, dword [ebp + 0x4f0]
jbe 0x416aa2
call fcn.0043ead4
mov esi, dword [ebp + 0x4e0]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
jmp 0x416ac0
mov eax, dword [ebp + 0x4f0]
mov dword [esp + 0x2c], eax
cmp dword [ebp + 0x4ec], eax
jbe 0x416ad7
call fcn.0043ead4
mov eax, dword [ebp + 0x4e0]
test esi, esi
je 0x416ae5
cmp esi, eax
je 0x416aea
call fcn.0043ead4
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x18], ecx
je 0x416fbf
test esi, esi
jne 0x416b76
call fcn.0043ead4
mov edx, dword [esp + 0x18]
cmp edx, dword [esi + 0x10]
jb 0x416b0f
call fcn.0043ead4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp byte [ecx + 0x10], 0
je 0x416cbd
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
mov eax, dword [eax + ebp + 4]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
push 0
push ecx
mov ecx, dword [ebx]
or eax, 0x5a0000
shl eax, 8
or eax, dword [esp + 0x24]
push eax
push edx
mov edx, dword [esp + 0x210]
push 0xd
push 0xd
push ecx
push edx
push 0x50000003
push 0x458aec
push 0x458af0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
test ecx, ecx
jne 0x416b7a
xor esi, esi
jmp 0x416b83
mov esi, dword [esi]
jmp 0x416b01
mov esi, dword [esp + 0x78]
sub esi, ecx
sar esi, 2
mov edx, dword [esp + 0x74]
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp ebx, esi
jae 0x416b9f
mov ecx, edx
add ecx, 4
mov dword [edx], eax
mov dword [esp + 0x74], ecx
jmp 0x416bc6
mov esi, edx
cmp ecx, edx
jbe 0x416baa
call fcn.0043ead4
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x2c]
push ecx
push esi
push eax
lea edx, [esp + 0x124]
push edx
lea ecx, [esp + 0x74]
call fcn.00414610
mov eax, dword [esp + 0x200]
mov esi, dword [edi + 4]
mov ebx, dword [edi + 8]
add eax, 0xf
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416c0b
call fcn.0043ead4
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x416bf7
call fcn.0043ead4
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
add eax, 0x30
cmp dword [eax + 0x18], 8
jb 0x416c0f
mov eax, dword [eax + 4]
jmp 0x416c12
mov eax, dword [eax]
jmp 0x416be9
add eax, 4
mov ecx, dword [esp + 0x204]
sub ecx, dword [esp + 0x200]
mov edx, dword [esp + 0x208]
push 0
push esi
push 0xffffffffffffffff
push ebx
push 0xd
sub ecx, 0xf
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x40]
push ecx
push edx
push 0x50000000
push eax
push 0x458b00
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [esp + 0x14], 0
mov esi, eax
mov dword [esp + 0x2c], esi
jne 0x416cb5
call fcn.0043ead4
xor eax, eax
mov ebx, dword [esp + 0x18]
cmp ebx, dword [eax + 0x10]
jb 0x416c70
call fcn.0043ead4
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x84]
push 0
push edx
push esi
lea ecx, [esp + 0x60]
call fcn.004081a0
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebp + 4]
mov eax, dword [edi + 8]
push 0
or edx, 0x5a0000
push 1
shl edx, 8
or edx, dword [esp + 0x24]
push 0xf1
push edx
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x416d9c
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x416c62
mov eax, dword [esp + 0x1fc]
mov ecx, dword [esp + 0x200]
mov edx, dword [eax + 4]
mov ebp, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 4]
mov esi, dword [ecx + eax + 4]
mov eax, dword [esp + 0x14]
or esi, 0x5a0000
shl esi, 8
or esi, dword [esp + 0x1c]
test eax, eax
jne 0x416d1d
call fcn.0043ead4
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x416d09
call fcn.0043ead4
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, 0x30
cmp dword [eax + 0x18], 8
jb 0x416d21
mov eax, dword [eax + 4]
jmp 0x416d24
mov eax, dword [eax]
jmp 0x416cfb
add eax, 4
mov ecx, dword [esp + 0x200]
mov edx, dword [esp + 0x204]
push 0
push ebp
push esi
push ebx
push 0xd
sub edx, ecx
push edx
mov edx, dword [esp + 0x220]
mov edx, dword [edx]
push edx
push ecx
push 0x50000000
push eax
push 0x458b10
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [esp + 0x14], 0
mov esi, eax
mov dword [esp + 0x2c], esi
jne 0x416ddb
call fcn.0043ead4
xor eax, eax
mov ebx, dword [esp + 0x18]
cmp ebx, dword [eax + 0x10]
jb 0x416d7c
call fcn.0043ead4
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x84]
push 0
push edx
push esi
lea ecx, [esp + 0x60]
call fcn.004081a0
mov ebp, dword [esp + 0x1fc]
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x416f7d
mov eax, dword [edi + 0x74]
push 1
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x14], 0
jne 0x416de3
call fcn.0043ead4
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x416dcb
call fcn.0043ead4
mov eax, dword [ebx]
add eax, 0x30
cmp dword [eax + 0x18], 8
jb 0x416deb
mov eax, dword [eax + 4]
jmp 0x416dee
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x416d6e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
jmp 0x416dc1
add eax, 4
push eax
push esi
mov ecx, edi
call fcn.00417950
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x24], eax
test ecx, ecx
jne 0x416e0c
mov dword [esp + 0x34], ecx
jmp 0x416e1c
mov eax, dword [esp + 0x90]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8c]
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, dword [esp + 0x34]
jae 0x416e3e
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x8c], eax
jmp 0x416e6a
mov esi, eax
cmp dword [esp + 0x88], eax
jbe 0x416e4e
call fcn.0043ead4
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x2c]
push ecx
push esi
push eax
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x8c]
call fcn.00414610
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416ec9
call fcn.0043ead4
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x416e83
call fcn.0043ead4
mov eax, dword [ebx]
cmp dword [eax + 0x60], 0
je 0x416f7d
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416ecd
call fcn.0043ead4
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x416ea8
call fcn.0043ead4
mov ecx, dword [ebx]
cmp dword [ecx + 0x7c], 0
je 0x416f7d
push 1
call fcn.0043e8c6
add esp, 4
test eax, eax
je 0x416ed1
mov byte [eax], 0
mov esi, eax
jmp 0x416ed3
mov eax, dword [eax]
jmp 0x416e79
mov eax, dword [eax]
jmp 0x416e9e
xor esi, esi
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea ecx, [eax + edx + 5]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x416f0c
call fcn.0043ead4
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x416efc
call fcn.0043ead4
mov eax, dword [ebx]
add eax, 0x4c
cmp dword [eax + 0x18], 8
jb 0x416f10
mov ebx, dword [eax + 4]
jmp 0x416f13
mov eax, dword [eax]
jmp 0x416ef2
lea ebx, [eax + 4]
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
mov eax, dword [eax + ebp + 4]
mov ecx, dword [edi + 4]
push 0xc80000
or eax, 0x5a0800
mov edx, dword [edi + 8]
push 1
shl eax, 8
or eax, dword [esp + 0x24]
push ebx
push eax
mov eax, dword [edi + 0x74]
push eax
mov eax, dword [esp + 0x34]
add eax, 0x64
push eax
mov eax, dword [esp + 0x220]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
push esi
call fcn.004187a0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp + 0x28], eax
call fcn.004149a0
push esi
call fcn.0043e5e6
mov ebx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x208]
add dword [eax], 0xd
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416fbb
call fcn.0043ead4
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x416fa0
call fcn.0043ead4
mov esi, dword [esp + 0x14]
add ebx, 4
inc dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x208]
jmp 0x416ac0
mov eax, dword [eax]
jmp 0x416f96
push 4
call fcn.0043e8c6
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x416fd7
lea edx, [esp + 0x3c]
mov dword [eax], edx
jmp 0x416fd9
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov byte [esp + 0x1f4], 2
cmp dword [ebp + 0x428], ecx
je 0x417001
lea eax, [ebp + 0x414]
jmp 0x417009
mov eax, dword [edi + 0x40]
add eax, 0x1c0
mov ecx, dword [ebp + 0x568]
sub ecx, dword [ebp + 0x564]
lea esi, [ebp + 0x558]
mov dword [esp + 0x20], eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x41704e
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], 8
jb 0x417043
mov eax, dword [eax + 4]
jmp 0x417046
add eax, 4
push eax
mov ecx, ebp
call fcn.00415fb0
push esi
lea ecx, [esp + 0x40]
call fcn.00415b80
mov esi, dword [esp + 0x4c]
mov ecx, esi
sub ecx, dword [esp + 0x48]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x417328
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
cmp eax, esi
jbe 0x41709b
call fcn.0043ead4
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jmp 0x4170b0
cmp dword [esp + 0x48], esi
jbe 0x4170bb
call fcn.0043ead4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4170c9
cmp eax, dword [esp + 0x3c]
je 0x4170ce
call fcn.0043ead4
cmp dword [esp + 0x18], esi
je 0x417325
mov ebx, dword [esp + 0x14]
or esi, 0xffffffff
test ebx, ebx
jne 0x41713d
call fcn.0043ead4
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x4170fc
call fcn.0043ead4
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x30], 0
je 0x417158
test ebx, ebx
jne 0x417141
call fcn.0043ead4
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, dword [eax + 0x10]
jb 0x41711f
call fcn.0043ead4
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x30], 0
je 0x417145
cmp byte [ecx + 0x38], 0
je 0x417145
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
mov esi, dword [eax + ebp + 4]
or esi, 0x5a0100
jmp 0x417155
mov eax, dword [ebx]
jmp 0x4170ea
mov eax, dword [ebx]
jmp 0x417111
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
mov esi, dword [eax + ebp + 4]
or esi, 0x5a0200
shl esi, 8
test ebx, ebx
jne 0x41727b
call fcn.0043ead4
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, dword [eax + 0x10]
jb 0x417175
call fcn.0043ead4
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x30], 0
mov ebp, dword [esp + 0x14]
setne bl
test ebp, ebp
jne 0x417282
call fcn.0043ead4
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x4171a1
call fcn.0043ead4
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x30], 0
setne cl
mov byte [esp + 0x24], cl
test ebp, ebp
jne 0x41728a
call fcn.0043ead4
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x4171cd
call fcn.0043ead4
mov ebp, dword [esp + 0x18]
add ebp, 4
cmp dword [ebp + 0x14], 8
jb 0x4171dd
mov ebp, dword [ebp]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
movzx edx, bl
neg edx
sbb edx, edx
and edx, 0xc80000
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [edi + 0x74]
push ebp
push esi
push edx
mov edx, dword [esp + 0x218]
push edx
mov edx, dword [esp + 0x220]
mov edx, dword [edx]
push edx
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
lea eax, [esp + 0x5b]
push eax
call fcn.004187a0
mov ebx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x4172ec
test ebx, ebx
jne 0x417292
call fcn.0043ead4
xor eax, eax
mov ebp, dword [esp + 0x18]
cmp ebp, dword [eax + 0x10]
jb 0x41724a
call fcn.0043ead4
cmp dword [ebp + 0x30], 0
jne 0x41726c
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x1fc]
mov eax, dword [edx + 0x54c]
push ecx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004081a0
mov edx, dword [esp + 0xa0]
test edx, edx
jne 0x417296
xor ecx, ecx
jmp 0x4172a2
mov eax, dword [ebx]
jmp 0x41716b
mov eax, dword [ebp]
jmp 0x417193
mov eax, dword [ebp]
jmp 0x4171bf
mov eax, dword [ebx]
jmp 0x41723c
mov ecx, dword [esp + 0xa8]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0xa4]
mov ebp, eax
sub ebp, edx
sar ebp, 2
cmp ebp, ecx
jae 0x4172c2
mov dword [eax], esi
add eax, 4
mov dword [esp + 0xa4], eax
jmp 0x4172ec
mov esi, eax
cmp edx, eax
jbe 0x4172cd
call fcn.0043ead4
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x2c]
push ecx
push esi
push eax
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0xa4]
call fcn.00414610
test ebx, ebx
jne 0x417321
call fcn.0043ead4
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x417305
call fcn.0043ead4
add dword [esp + 0x18], 0x3c
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x1fc]
mov ebx, dword [esp + 0x208]
jmp 0x4170b0
mov eax, dword [ebx]
jmp 0x4172f7
add dword [ebx], 0xd
mov edx, dword [esp + 0x200]
push 1
mov dword [esp + 0x20], edx
call fcn.0043e8c6
add esp, 4
test eax, eax
je 0x41734a
mov byte [eax], 0
mov dword [esp + 0x28], eax
jmp 0x417352
mov dword [esp + 0x28], 0
cmp dword [ebp + 0xfc], 0
je 0x417432
cmp dword [ebp + 0x100], 8
jb 0x417370
mov edx, dword [ebp + 0xec]
jmp 0x417376
lea edx, [ebp + 0xec]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
push 0
push 0
push edx
mov edx, dword [edi + 0x74]
push 0xffffffffffffffff
push edx
mov edx, dword [esp + 0x218]
push edx
mov edx, dword [ebx]
push edx
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x4c]
push ecx
push eax
call fcn.004187a0
mov ecx, dword [ebp + 0x104]
push 0
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], esi
call fcn.004081a0
mov eax, dword [esp + 0xb8]
test eax, eax
jne 0x4173cb
xor ecx, ecx
jmp 0x4173d7
mov ecx, dword [esp + 0xc0]
sub ecx, eax
sar ecx, 2
mov edx, dword [esp + 0xbc]
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x4173fc
mov eax, dword [esp + 0xbc]
mov dword [eax], esi
add eax, 4
mov dword [esp + 0xbc], eax
jmp 0x41742d
mov ecx, dword [esp + 0xbc]
mov esi, ecx
cmp eax, ecx
jbe 0x41740e
call fcn.0043ead4
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x34]
push ecx
push esi
push eax
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0xbc]
call fcn.00414610
add dword [esp + 0x1c], 5
cmp dword [ebp + 0xe0], 0
je 0x417504
cmp dword [ebp + 0xe4], 8
jb 0x417450
mov esi, dword [ebp + 0xd0]
jmp 0x417456
lea esi, [ebp + 0xd0]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebp + 4]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
push 0xc80000
push 1
push esi
or eax, 0x5a0300
shl eax, 8
push eax
mov eax, dword [edi + 0x74]
push eax
mov eax, dword [esp + 0x218]
push eax
mov eax, dword [ebx]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push ecx
call fcn.004187a0
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x4174aa
xor eax, eax
jmp 0x4174b6
mov eax, dword [esp + 0xc0]
sub eax, ecx
sar eax, 2
mov edx, dword [esp + 0xbc]
mov esi, edx
sub esi, ecx
sar esi, 2
cmp esi, eax
jae 0x4174da
mov eax, dword [esp + 0x34]
mov dword [edx], eax
add edx, 4
mov dword [esp + 0xbc], edx
jmp 0x417504
mov esi, edx
cmp ecx, edx
jbe 0x4174e5
call fcn.0043ead4
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x34]
push ecx
push esi
push eax
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0xbc]
call fcn.00414610
mov eax, dword [esp + 0x28]
push eax
call fcn.0043e5e6
add dword [ebx], 0xd
mov ecx, dword [ebp + 4]
add esp, 4
mov dword [esp + 0x114], ebp
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebp + 4]
mov ecx, dword [ebp + 0x4a0]
push ecx
lea edx, [ebp + 0x3f8]
push edx
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x208]
push ebx
push eax
mov ecx, edi
call fcn.00413750
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x38]
cmp eax, dword [ebx]
jle 0x41755b
mov dword [ebx], eax
sub esp, 0xb8
lea edx, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0xdc], esp
push edx
call fcn.00414860
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebp + 4]
lea ecx, [esp + 0x1e8]
call fcn.004159c0
lea edx, [esp + 0x130]
push edx
lea ecx, [edi + 0x5c]
mov byte [esp + 0x1f8], 3
call fcn.004168d0
xor esi, esi
push esi
lea ecx, [esp + 0x138]
call fcn.00412760
mov eax, dword [ebx]
mov ecx, dword [esp + 0x210]
add eax, 2
mov dword [ecx], eax
add dword [ebx], 3
lea ecx, [esp + 0x134]
call fcn.00412e40
mov ecx, dword [esp + 0x48]
cmp ecx, esi
je 0x4175f9
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x48]
push eax
call fcn.00413430
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0043e5e6
add esp, 4
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.0043e5e6
add esp, 4
lea ecx, [esp + 0x60]
call fcn.00412e40
mov ecx, dword [esp + 0x1ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret 0x18