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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 0xc], 2
jne 0x417826
push 0x785858
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x50]
push 0x785858
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xdc]
push 0
mov ebx, 0x545970
call fcn.00540071
add esp, 4
push getpeername
push 0
push str.temp
push 0x80000301
push 0
push 3
push 2
mov ebx, 0x543a60
call fcn.00540071
add esp, 0x1c
mov dword [ebp - 4], esp
push 0
mov eax, 0x5e
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x417821
push 6
call fcn.0054006b
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 3
jne 0x417912
push 0x785874
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 4], esp
push dword [0x785878]
mov eax, 0x2f
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x417864
push 6
call fcn.0054006b
add esp, 4
test eax, eax
je 0x417880
cmp dword [0x785878], 0
je 0x417880
mov eax, 1
jmp 0x417885
mov eax, 0
test eax, eax
je 0x41790d
push dword [ebp + 0x14]
call fcn.00407e01
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x63952a]
fstp qword [ebp - 0x14]
push dword [ebp + 0x14]
call fcn.00407e4c
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x639532]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
push 0
push 0x32
push 0x82
fld qword [ebp - 0x28]
call fcn.00401300
push eax
fld qword [ebp - 0x14]
call fcn.00401300
push eax
push dword [0x785878]
mov eax, 0x5f
call fcn.0054007d
cmp dword [ebp - 0x2c], esp
je 0x41790d
push 6
call fcn.0054006b
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x111
jne 0x417ad2
cmp dword [ebp + 0x10], 0
jle 0x41793a
cmp dword [ebp + 0x10], 0x22
jge 0x41793a
mov eax, 1
jmp 0x41793f
mov eax, 0
test eax, eax
je 0x417954
push dword [ebp + 0x10]
call fcn.0040eb12
jmp 0x417acd
cmp dword [ebp + 0x10], 0x3e8
jle 0x417975
cmp dword [ebp + 0x10], 0x3f0
jge 0x417975
mov eax, 1
jmp 0x41797a
mov eax, 0
test eax, eax
je 0x41798f
push dword [ebp + 0x10]
call fcn.00418fd8
jmp 0x417acd
cmp dword [ebp + 0x10], 0x7d0
jle 0x4179b0
cmp dword [ebp + 0x10], 0x7d7
jge 0x4179b0
mov eax, 1
jmp 0x4179b5
mov eax, 0
test eax, eax
je 0x4179ca
push dword [ebp + 0x10]
call fcn.00419dd2
jmp 0x417acd
cmp dword [ebp + 0x10], 0x64
jle 0x4179e5
cmp dword [ebp + 0x10], 0x6f
jge 0x4179e5
mov eax, 1
jmp 0x4179ea
mov eax, 0
test eax, eax
je 0x417a21
fild dword [ebp + 0x10]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fsub qword [0x6393a6]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
call fcn.00401300
mov dword [0x7858d0], eax
push dword [0x7858d0]
call fcn.0041a0b3
jmp 0x417acd
cmp dword [ebp + 0x10], 0xbb8
jle 0x417a42
cmp dword [ebp + 0x10], 0xbca
jge 0x417a42
mov eax, 1
jmp 0x417a47
mov eax, 0
test eax, eax
je 0x417a5c
push dword [ebp + 0x10]
call fcn.0041a229
jmp 0x417acd
cmp dword [ebp + 0x10], 0xfa0
jle 0x417a7d
cmp dword [ebp + 0x10], 0xfa3
jge 0x417a7d
mov eax, 1
jmp 0x417a82
mov eax, 0
test eax, eax
je 0x417a97
push dword [ebp + 0x10]
call fcn.0041b0fb
jmp 0x417acd
cmp dword [ebp + 0x10], 0x1770
jle 0x417ab8
cmp dword [ebp + 0x10], 0x1777
jge 0x417ab8
mov eax, 1
jmp 0x417abd
mov eax, 0
test eax, eax
je 0x417acd
push dword [ebp + 0x10]
call fcn.0041b498
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186a7
jne 0x417b0b
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push 0
push 6
push 0x78581c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186a6
jne 0x417b44
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push 0
push 4
push 0x78581c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186a1
jne 0x417b7d
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push 0
push 3
push 0x78581c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186a2
jne 0x417bb6
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push 0
push 7
push 0x78581c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186a3
jne 0x417bef
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push 0
push 8
push 0x78581c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x1869e
jne 0x417faa
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16016f12
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x1601678b
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16012cf5
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16016755
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16016756
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16016786
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x1601678c
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017238
push 0x52017239
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x417d0d
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x6017238
push 0x52017239
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017248
push 0x52017247
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x417d53
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x6017248
push 0x52017247
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x601720a
push 0x52017209
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x417d99
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x601720a
push 0x52017209
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x601722d
push 0x5201722c
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x417ddf
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x601722d
push 0x5201722c
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x601721e
push 0x5201721d
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x417e25
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x601721e
push 0x5201721d
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017214
push 0x52017213
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x417e6b
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x6017214
push 0x52017213
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017202
push 0x52017201
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x417eb1
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x6017202
push 0x52017201
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017219
push 0x52017218
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x417ef7
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x6017219
push 0x52017218
call fcn.00540089
add esp, 0x18
mov dword [ebp - 4], esp
push dword [0x785928]
mov eax, 0x2f
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x417f1c
push 6
call fcn.0054006b
add esp, 4
test eax, eax
je 0x417f4e
mov dword [ebp - 4], esp
push 0
push dword [0x785928]
mov eax, 0x60
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x417f4e
push 6
call fcn.0054006b
add esp, 4
mov dword [ebp - 4], esp
push dword [0x785878]
mov eax, 0x2f
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x417f73
push 6
call fcn.0054006b
add esp, 4
test eax, eax
je 0x417fa5
mov dword [ebp - 4], esp
push 0
push dword [0x785878]
mov eax, 0x60
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x417fa5
push 6
call fcn.0054006b
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x1869f
jne 0x418365
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16016f12
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x1601678b
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16012cf5
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16016755
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16016756
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16016786
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x1601678c
push 0x52010003
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017238
push 0x52017239
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x4180c8
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x6017238
push 0x52017239
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017248
push 0x52017247
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x41810e
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x6017248
push 0x52017247
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x601720a
push 0x52017209
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x418154
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x601720a
push 0x52017209
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x601722d
push 0x5201722c
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x41819a
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x601722d
push 0x5201722c
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x601721e
push 0x5201721d
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x4181e0
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x601721e
push 0x5201721d
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017214
push 0x52017213
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x418226
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x6017214
push 0x52017213
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017202
push 0x52017201
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x41826c
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x6017202
push 0x52017201
call fcn.00540089
add esp, 0x18
push 0x10001
push 0x6017219
push 0x52017218
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x4182b2
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x6017219
push 0x52017218
call fcn.00540089
add esp, 0x18
mov dword [ebp - 4], esp
push dword [0x785928]
mov eax, 0x2f
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x4182d7
push 6
call fcn.0054006b
add esp, 4
test eax, eax
je 0x418309
mov dword [ebp - 4], esp
push 1
push dword [0x785928]
mov eax, 0x60
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x418309
push 6
call fcn.0054006b
add esp, 4
mov dword [ebp - 4], esp
push dword [0x785878]
mov eax, 0x2f
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x41832e
push 6
call fcn.0054006b
add esp, 4
test eax, eax
je 0x418360
mov dword [ebp - 4], esp
push 1
push dword [0x785878]
mov eax, 0x60
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x418360
push 6
call fcn.0054006b
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186a8
jne 0x418464
cmp dword [ebp + 0x10], 1
jne 0x418386
call fcn.0040de1b
jmp 0x41845f
cmp dword [ebp + 0x10], 2
jne 0x4183fa
push dword [ebp + 0x14]
push 0x785858
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x70]
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push 0x7858c0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov ebx, eax
test ebx, ebx
je 0x4183cc
push ebx
call fcn.0054005f
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4183dc
push ebx
call fcn.0054005f
add esp, 4
mov eax, dword [0x7858d0]
cmp dword [ebp + 0x14], eax
jne 0x4183f5
push dword [0x7858d0]
call fcn.0041a0b3
jmp 0x41845f
cmp dword [ebp + 0x10], 3
jne 0x41845f
call fcn.0040de1b
push 0x785858
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x60]
cmp dword [0x7858d0], eax
jle 0x41845f
push 0x785858
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x60]
mov dword [0x7858d0], eax
cmp dword [0x7858d0], 1
jge 0x418454
push 1
call fcn.0040eb12
jmp 0x41845f
push dword [0x7858d0]
call fcn.0041a0b3
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x1d
jne 0x4184fa
push 0x785858
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
push 0x10001
push 0x6017219
push 0x52017218
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x4184f5
push 0x10001
push 0x6017219
push 0x52017218
push 1
mov ebx, 0x540530
call fcn.00540071
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, 0x33
call fcn.0054007d
cmp dword [ebp - 8], esp
je 0x4184f5
push 6
call fcn.0054006b
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186ae
jne 0x418520
push 1
push dword [ebp + 0x10]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186aa
jne 0x41854c
push 1
push dword [ebp + 0x10]
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x5c]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186ab
jne 0x418578
push 1
push dword [ebp + 0x10]
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x68]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186ad
jne 0x4185a4
push 1
push dword [ebp + 0x10]
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x7c]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186ac
jne 0x4185ea
push 1
push dword [ebp + 0x14]
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
push 1
push dword [ebp + 0x10]
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x78]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186af
jne 0x418616
push 1
push dword [ebp + 0x10]
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x70]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186b0
jne 0x418642
push 1
push dword [ebp + 0x10]
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x60]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186b1
jne 0x41866e
push 1
push dword [ebp + 0x10]
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x6c]
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186b2
jne 0x41871d
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4186b0
push ebx
call fcn.0054005f
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
call fcn.0041ba59
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4186de
push ebx
call fcn.0054005f
add esp, 4
push 1
lea eax, [ebp - 0x10]
push eax
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov ebx, eax
test ebx, ebx
je 0x418708
push ebx
call fcn.0054005f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x418718
push ebx
call fcn.0054005f
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186b3
jne 0x4187cc
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41875f
push ebx
call fcn.0054005f
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
call fcn.0041c02c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41878d
push ebx
call fcn.0054005f
add esp, 4
push 1
lea eax, [ebp - 0x10]
push eax
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov ebx, eax
test ebx, ebx
je 0x4187b7
push ebx
call fcn.0054005f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4187c7
push ebx
call fcn.0054005f
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186ba
jne 0x41886c
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41880e
push ebx
call fcn.0054005f
add esp, 4
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
call fcn.0041c86d
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41882d
push ebx
call fcn.0054005f
add esp, 4
push 1
lea eax, [ebp - 0xc]
push eax
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov ebx, eax
test ebx, ebx
je 0x418857
push ebx
call fcn.0054005f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x418867
push ebx
call fcn.0054005f
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186b4
jne 0x41891b
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4188ae
push ebx
call fcn.0054005f
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
call fcn.0041cb67
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4188dc
push ebx
call fcn.0054005f
add esp, 4
push 1
lea eax, [ebp - 0x10]
push eax
push dword [0x785900]
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov ebx, eax
test ebx, ebx
je 0x418906
push ebx
call fcn.0054005f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x418916
push ebx
call fcn.0054005f
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186b9
jne 0x418abc
call fcn.0040950d
push 0x785838
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
push 0x7857e8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x7857f0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
push 0x78581c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push 0x10001
push 0x601e9a5
push 0x5201e9a4
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x418997
call fcn.0041cff9
push 0x10001
push 0x6017248
push 0x52017247
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x4189c5
call fcn.0041d15d
push 0x10001
push 0x6017238
push 0x52017239
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x418a02
call fcn.0041d2c1
push 0x78592c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
push 0x10001
push 0x6017260
push 0x5201725f
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x418a3f
call fcn.0041d425
push 0x785930
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
push 0x10001
push 0x601edd0
push 0x5201edcf
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x418ab7
push 0x10001
push 0x601edd0
push 0x5201edcf
push 1
mov ebx, 0x540530
call fcn.00540071
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, 0x33
call fcn.0054007d
cmp dword [ebp - 8], esp
je 0x418ab7
push 6
call fcn.0054006b
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186be
jne 0x418afc
push 0x10001
push 0x6017238
push 0x52017239
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x418af7
call fcn.0041d589
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186bf
jne 0x418b3c
push 0x10001
push 0x6017238
push 0x52017239
push 1
mov ebx, 0x543f20
call fcn.00540071
add esp, 0x10
test eax, eax
je 0x418b37
call fcn.0041d653
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x1867e
jne 0x418caf
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa4]
test eax, eax
je 0x418c65
push 0x10001
push 0x6010002
push 0x52010003
push 1
mov ebx, 0x540530
call fcn.00540071
add esp, 0x10
mov dword [ebp - 4], eax
push 1
mov eax, 0x63992d
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 1
mov eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0x20
mov eax, 0x63993d
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call fcn.00403777
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x418bd1
push ebx
call fcn.0054005f
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x418bef
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x418beb
imul eax, dword [ebx]
jmp 0x418be0
mov ecx, eax
test ecx, ecx
je 0x418c0e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x418c07
push ebx
push eax
call fcn.0054005f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x418bf5
call fcn.0054005f
add esp, 4
cmp dword [ebp - 0x14], 1
jne 0x418c56
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x785870]
mov eax, 0x61
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x418c51
push 6
call fcn.0054006b
add esp, 4
jmp 0x418fd2
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x44]
push 0x80000301
push 0
push dword [ebp + 0x14]
push 1
mov ebx, 0x545010
call fcn.00540071
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x785854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb4]
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418caa
push ebx
call fcn.0054005f
add esp, 4
jmp 0x418f9c
cmp dword [ebp + 0xc], 0x186c0
jne 0x418f9c
cmp dword [ebp + 0x10], 1
jne 0x418db3
cmp dword [ebp + 0x14], 1
jne 0x418d15
push 0xffffffffffffffff
push 5
push 0x16023b82
push 0x52010003
call fcn.0054008f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x418d10
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16023b82
push 0x52010003
call fcn.00540089
add esp, 0x18
jmp 0x418dae
cmp dword [ebp + 0x14], 2
jne 0x418d64
push 0xffffffffffffffff
push 5
push 0x16023b82
push 0x52010003
call fcn.0054008f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x418d5f
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16023b82
push 0x52010003
call fcn.00540089
add esp, 0x18
jmp 0x418dae
cmp dword [ebp + 0x14], 3
jne 0x418dae
push 0xffffffffffffffff
push 5
push 0x16023b82
push 0x52010003
call fcn.0054008f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x418dae
push 0
push 1
push 0xffffffffffffffff
push 5
push 0x16023b82
push 0x52010003
call fcn.00540089
add esp, 0x18
jmp 0x418f9c
cmp dword [ebp + 0x10], 2
jne 0x418eaa
cmp dword [ebp + 0x14], 1
jne 0x418e0c
push 0xffffffffffffffff
push 5
push 0x16023b83
push 0x52010003
call fcn.0054008f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x418e07
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16023b83
push 0x52010003
call fcn.00540089
add esp, 0x18
jmp 0x418ea5
cmp dword [ebp + 0x14], 2
jne 0x418e5b
push 0xffffffffffffffff
push 5
push 0x16023b83
push 0x52010003
call fcn.0054008f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x418e56
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16023b83
push 0x52010003
call fcn.00540089
add esp, 0x18
jmp 0x418ea5
cmp dword [ebp + 0x14], 3
jne 0x418ea5
push 0xffffffffffffffff
push 5
push 0x16023b83
push 0x52010003
call fcn.0054008f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x418ea5
push 0
push 1
push 0xffffffffffffffff
push 5
push 0x16023b83
push 0x52010003
call fcn.00540089
add esp, 0x18
jmp 0x418f9c
cmp dword [ebp + 0x10], 3
jne 0x418f9c
cmp dword [ebp + 0x14], 1
jne 0x418f03
push 0xffffffffffffffff
push 5
push 0x16023b84
push 0x52010003
call fcn.0054008f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x418efe
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16023b84
push 0x52010003
call fcn.00540089
add esp, 0x18
jmp 0x418f9c
cmp dword [ebp + 0x14], 2
jne 0x418f52
push 0xffffffffffffffff
push 5
push 0x16023b84
push 0x52010003
call fcn.0054008f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x418f4d
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16023b84
push 0x52010003
call fcn.00540089
add esp, 0x18
jmp 0x418f9c
cmp dword [ebp + 0x14], 3
jne 0x418f9c
push 0xffffffffffffffff
push 5
push 0x16023b84
push 0x52010003
call fcn.0054008f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x418f9c
push 0
push 1
push 0xffffffffffffffff
push 5
push 0x16023b84
push 0x52010003
call fcn.00540089
add esp, 0x18
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x785870]
mov eax, 0x61
call fcn.0054007d
cmp dword [ebp - 4], esp
je 0x418fcd
push 6
call fcn.0054006b
add esp, 4
jmp 0x418fd2
mov esp, ebp
pop ebp
ret 0x10