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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
push esi
push edi
lea eax, [ebp - 8]
push 0x454778
push eax
call fcn.00420980
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
and byte [ebp - 0xa], 0
and byte [edi], 0
mov eax, dword [esi + 0xad4]
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
push esi
push dword [ebp + 8]
call fcn.0040b65a
add esp, 0x2c
test eax, eax
lea eax, [ebp - 8]
push eax
je 0x417215
lea eax, [esi + 0x94]
push eax
push edi
call fcn.00417e47
jmp 0x417221
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x295]
push eax
push edi
call fcn.00417e47
mov eax, dword [esi]
mov ebx, dword [ebp + 0xc]
add esp, 0xc
sub eax, 0
je 0x41724a
dec eax
jne 0x417254
push dword [ebx + 4]
jmp 0x41724c
push dword [ebx]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
push esi
push dword [ebp + 8]
call fcn.0040b45f
add esp, 0x10
test eax, eax
je 0x4172cc
mov eax, dword [esi + 0xaa8]
sub eax, 0
je 0x417281
dec eax
jne 0x41728c
push dword [ebx + 0x64]
jmp 0x417284
push dword [ebx + 0x68]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
cmp dword [esi + 0xaa8], 1
pop ecx
pop ecx
jne 0x4172cc
push dword [esi + 0xaac]
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
add esp, 0x1c
push esi
push dword [ebp + 8]
call fcn.0040ba69
pop ecx
test eax, eax
pop ecx
jne 0x4172ff
push esi
push dword [ebp + 8]
call fcn.0040bac7
pop ecx
test eax, eax
pop ecx
jne 0x4172ff
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
jmp 0x417329
mov eax, dword [esi + 0x88]
sub eax, 0
je 0x417312
dec eax
jne 0x41731d
push dword [ebx + 0x48]
jmp 0x417315
push dword [ebx + 0x4c]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
push esi
push dword [ebp + 8]
call fcn.0040b81a
pop ecx
test eax, eax
pop ecx
je 0x417361
mov eax, dword [esi + 4]
sub eax, 0
je 0x417348
dec eax
jne 0x417353
push dword [ebx + 0xc]
jmp 0x41734b
push dword [ebx + 8]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x417374
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push dword [ebp + 8]
call fcn.0040b76f
pop ecx
test eax, eax
pop ecx
je 0x4173d5
mov eax, dword [esi + 0x6a8]
cmp eax, 0xffff
jne 0x417397
push str.INFINITE_KEYS
jmp 0x4173bf
push eax
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x14
cmp dword [esi + 0x8c], 1
jne 0x4173c7
push dword [ebx + 0x58]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x4173e8
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push dword [ebp + 8]
call fcn.0040b7b2
pop ecx
test eax, eax
pop ecx
je 0x417449
mov eax, dword [esi + 0x6d4]
cmp eax, 0xffff
jne 0x41740b
push str.INFINITE_KEYS
jmp 0x417433
push eax
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x14
cmp dword [esi + 0x8c], 1
jne 0x41743b
push dword [ebx + 0x58]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x41745c
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push dword [ebp + 8]
call fcn.0040b831
pop ecx
test eax, eax
pop ecx
je 0x41750c
cmp dword [esi + 0x4a0], 0x9c4
jne 0x417498
push str.NEVER
push edi
call fcn.00420990
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
add esp, 0x10
jmp 0x41751f
push dword [esi + 0x498]
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
mov eax, dword [esi + 0x49c]
push dword [eax*4 + 0x454748]
push edi
call fcn.00420990
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
push dword [esi + 0x4a0]
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x40
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x41751f
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push dword [ebp + 8]
call fcn.0040b85d
pop ecx
test eax, eax
pop ecx
je 0x4175cf
cmp dword [esi + 0x4ac], 0x9c4
jne 0x41755b
push str.NEVER
push edi
call fcn.00420990
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
add esp, 0x10
jmp 0x4175e2
push dword [esi + 0x4a4]
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
mov eax, dword [esi + 0x4a8]
push dword [eax*4 + 0x454748]
push edi
call fcn.00420990
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
push dword [esi + 0x4ac]
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x40
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x4175e2
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push dword [ebp + 8]
call fcn.0040b874
pop ecx
test eax, eax
pop ecx
je 0x417626
mov eax, dword [esi + 0x10]
sub eax, 0
je 0x417621
dec eax
je 0x417614
dec eax
je 0x41760f
dec eax
je 0x41760a
dec eax
jne 0x417639
push dword [ebx + 0x28]
jmp 0x417617
push dword [ebx + 0x24]
jmp 0x417617
push dword [ebx + 0x20]
jmp 0x417617
push dword [ebx + 0x1c]
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x417639
push dword [ebx + 0x18]
jmp 0x417617
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push dword [ebp + 8]
call fcn.0040b8b2
pop ecx
test eax, eax
pop ecx
je 0x417698
cmp dword [esi + 0x818], 0xffff
lea ebx, [esi + 0x818]
je 0x417695
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc8]
push edi
call fcn.00420990
push dword [ebx]
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
mov ebx, dword [ebp + 0xc]
add esp, 0x24
jmp 0x4176a4
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
push esi
push dword [ebp + 8]
call fcn.0040b4c4
pop ecx
test eax, eax
pop ecx
je 0x4176dd
mov eax, dword [esi + 0xacc]
sub eax, 0
je 0x4176c6
dec eax
jne 0x4176d1
push dword [ebx + 0x6c]
jmp 0x4176c9
push dword [ebx + 0x70]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
push esi
push dword [ebp + 8]
call fcn.0040b498
pop ecx
test eax, eax
pop ecx
je 0x41772d
push dword [esi + 0xab8]
lea eax, [ebp - 0x14]
push 0x45472c
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x14
cmp dword [esi + 0x8c], 1
jne 0x417721
push dword [ebx + 0x74]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
push esi
push dword [ebp + 8]
call fcn.0040b56e
pop ecx
test eax, eax
pop ecx
je 0x41778b
push dword [esi + 0xac8]
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x14
cmp dword [esi + 0x8c], 1
jne 0x41777f
cmp dword [esi + 0xac8], 0
jne 0x417774
push dword [ebx + 0x78]
jmp 0x417777
push dword [ebx + 0x7c]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
push esi
push dword [ebp + 8]
call fcn.0040b59a
pop ecx
test eax, eax
pop ecx
je 0x4177ca
mov eax, dword [esi + 0xac4]
sub eax, 0
je 0x4177b0
dec eax
jne 0x4177be
push dword [ebx + 0x94]
jmp 0x4177b6
push dword [ebx + 0x98]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
push esi
push dword [ebp + 8]
call fcn.0040b65a
pop ecx
test eax, eax
pop ecx
je 0x417812
mov eax, dword [esi + 8]
sub eax, 0
je 0x4177f9
dec eax
je 0x4177f4
dec eax
je 0x4177ef
dec eax
jne 0x417804
push dword [ebx + 0x44]
jmp 0x4177fc
push dword [ebx + 0x40]
jmp 0x4177fc
push dword [ebx + 0x3c]
jmp 0x4177fc
push dword [ebx + 0x38]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x417825
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push dword [ebp + 8]
call fcn.0040b59a
pop ecx
test eax, eax
pop ecx
je 0x417864
mov eax, dword [esi + 0xabc]
sub eax, 0
je 0x41784a
dec eax
jne 0x417858
push dword [ebx + 0x80]
jmp 0x417850
push dword [ebx + 0x84]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
push esi
push dword [ebp + 8]
call fcn.0040b500
pop ecx
test eax, eax
pop ecx
je 0x4178a3
mov eax, dword [esi + 0xac0]
sub eax, 0
je 0x417889
dec eax
jne 0x417897
push dword [ebx + 0x88]
jmp 0x41788f
push dword [ebx + 0x8c]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
push esi
push dword [ebp + 8]
call fcn.0040b53e
pop ecx
test eax, eax
pop ecx
je 0x4178ff
cmp dword [esi + 0xabc], 1
jne 0x4178ff
push dword [esi + 0x4b0]
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x14
cmp dword [esi + 0x8c], 1
jne 0x4178f3
push dword [ebx + 0x90]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
push esi
push dword [ebp + 8]
call fcn.0040b6d4
pop ecx
test eax, eax
pop ecx
je 0x4179e5
mov eax, dword [esi + 0x4b0]
test eax, eax
je 0x4179d5
and dword [ebp + 0x14], 0
test eax, eax
jle 0x4179f8
lea eax, [esi + 0x56f]
lea ebx, [esi + 0x40]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0x10]
push dword [ebx - 0x2c]
add eax, 0xffffff45
push eax
push esi
call fcn.00417105
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.00417e47
add esp, 0x1c
cmp dword [esi + 0xad4], 5
jl 0x417997
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc4]
push edi
call fcn.00420990
lea eax, [ebp - 0x2c]
push eax
push dword [ebx]
push dword [ebp + 0x10]
push esi
call fcn.00417105
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.00417e47
add esp, 0x24
mov eax, dword [esi + 0x4b0]
dec eax
cmp dword [ebp + 0x14], eax
je 0x4179ae
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc4]
jmp 0x4179b2
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
inc dword [ebp + 0x14]
add dword [ebp + 0x10], 0x11
mov eax, dword [ebp + 0x14]
pop ecx
add ebx, 4
cmp eax, dword [esi + 0x4b0]
pop ecx
jl 0x417938
jmp 0x4179f8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xa]
push eax
push edi
call fcn.00417e47
jmp 0x4179f5
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push dword [ebp + 8]
call fcn.0040b6ef
pop ecx
test eax, eax
pop ecx
je 0x417b25
xor ebx, ebx
cmp dword [esi + 0x62c], ebx
jne 0x417a64
lea eax, [esi + 0x4b4]
mov dword [esi + 0x62c], 1
push eax
lea eax, [esi + 0x630]
push eax
call fcn.00420980
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x40], ebx
pop ecx
mov dword [esi + 0x6c], eax
pop ecx
je 0x417a64
lea eax, [esi + 0x56f]
push eax
lea eax, [esi + 0x641]
push eax
call fcn.00420980
mov eax, dword [esi + 0x40]
pop ecx
pop ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x62c], 2
cmp dword [esi + 0x62c], ebx
mov dword [ebp + 0x14], ebx
jle 0x417b38
lea eax, [esi + 0x630]
lea ebx, [esi + 0x6d8]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebx - 0x66c]
push dword [ebp + 0x10]
push esi
call fcn.00417105
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.00417e47
push esi
push dword [ebp + 8]
call fcn.0040b714
add esp, 0x24
test eax, eax
je 0x417ae7
cmp dword [ebx], 0xffff
je 0x417ae7
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc8]
push edi
call fcn.00420990
push dword [ebx]
lea eax, [ebp - 0x14]
push 0x445b10
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x1c
mov eax, dword [esi + 0x62c]
dec eax
cmp dword [ebp + 0x14], eax
je 0x417afe
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc4]
jmp 0x417b02
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
inc dword [ebp + 0x14]
add dword [ebp + 0x10], 0x11
mov eax, dword [ebp + 0x14]
pop ecx
add ebx, 4
cmp eax, dword [esi + 0x62c]
pop ecx
jl 0x417a82
jmp 0x417b38
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push dword [ebp + 8]
call fcn.0040b7e5
pop ecx
test eax, eax
pop ecx
je 0x417bb1
mov eax, dword [esi + 0x6f4]
test eax, eax
je 0x417ba1
xor ebx, ebx
test eax, eax
jle 0x417bc4
lea eax, [esi + 0x6f8]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0xa]
push eax
push dword [ebp + 0x14]
push edi
call fcn.00417e47
mov eax, dword [esi + 0x6f4]
add esp, 0xc
dec eax
cmp ebx, eax
je 0x417b86
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc4]
jmp 0x417b8a
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
add dword [ebp + 0x14], 0x29
inc ebx
cmp ebx, dword [esi + 0x6f4]
pop ecx
pop ecx
jl 0x417b60
jmp 0x417bc4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xa]
push eax
push edi
call fcn.00417e47
jmp 0x417bc1
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
mov ebx, dword [ebp + 8]
push esi
push ebx
call fcn.0040b8e9
pop ecx
test eax, eax
pop ecx
je 0x417c0e
mov eax, dword [esi + 0xc]
sub eax, 0
je 0x417bf2
dec eax
je 0x417bea
dec eax
jne 0x417c00
mov eax, dword [ebp + 0xc]
push dword [eax + 0x34]
jmp 0x417bf8
mov eax, dword [ebp + 0xc]
push dword [eax + 0x30]
jmp 0x417bf8
mov eax, dword [ebp + 0xc]
push dword [eax + 0x2c]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x417c21
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push ebx
call fcn.0040b94d
pop ecx
test eax, eax
pop ecx
je 0x417c74
push dword [esi + 0x828]
lea eax, [ebp - 0x14]
push 0x45472c
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x14
cmp dword [esi + 0x8c], 1
jne 0x417c66
mov eax, dword [ebp + 0xc]
push dword [eax + 0x5c]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x417c87
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push ebx
call fcn.0040b65a
pop ecx
test eax, eax
pop ecx
je 0x417cf4
mov eax, dword [esi + 0x820]
test eax, eax
jne 0x417cb3
cmp dword [ebp - 0x18], 4
jl 0x417cb3
push str.INFINITE
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x417ccf
push eax
lea eax, [ebp - 0x14]
push 0x45472c
push eax
call fcn.004207c7
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00420990
add esp, 0x14
cmp dword [esi + 0x8c], 1
jne 0x417ce6
mov eax, dword [ebp + 0xc]
push dword [eax + 0x5c]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x417d07
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push ebx
call fcn.0040b62a
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 8]
push eax
je 0x417d27
lea eax, [esi + 0x8a7]
push eax
push edi
call fcn.00417e47
jmp 0x417d33
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push ebx
call fcn.0040b9a7
pop ecx
test eax, eax
pop ecx
je 0x417d75
mov eax, dword [esi + 0x90]
sub eax, 0
je 0x417d59
dec eax
jne 0x417d67
mov eax, dword [ebp + 0xc]
push dword [eax + 0x50]
jmp 0x417d5f
mov eax, dword [ebp + 0xc]
push dword [eax + 0x54]
push edi
call fcn.00420990
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
pop ecx
pop ecx
jmp 0x417d88
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
push esi
push ebx
call fcn.0040b750
pop ecx
test eax, eax
pop ecx
je 0x417e2d
cmp dword [esi + 0x82c], 0
je 0x417e1d
push 0x20
push edi
call fcn.00421900
pop ecx
inc eax
pop ecx
xor ebx, ebx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [esi + 0x82c], ebx
jle 0x417e40
lea eax, [esi + 0x830]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp + 8]
call fcn.00410a0f
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x42c]
push eax
push edi
call fcn.00417e47
mov eax, dword [esi + 0x82c]
add esp, 0x14
dec eax
cmp ebx, eax
je 0x417e02
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc4]
jmp 0x417e06
lea eax, [ebp - 8]
push eax
push edi
call fcn.00420990
add dword [ebp + 8], 0x11
inc ebx
cmp ebx, dword [esi + 0x82c]
pop ecx
pop ecx
jl 0x417dc9
jmp 0x417e40
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xa]
push eax
push edi
call fcn.00417e47
jmp 0x417e3d
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x8c]
call fcn.00417e82
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret