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

Disassembly:
mov eax, 0x5f22d4
call fcn.0059d590
sub esp, 0x678
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebx + 0xec]
mov edx, dword [ebx + 0xe8]
lea ecx, [ebx + 0xe8]
push eax
push edx
call fcn.004f754f
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x45eb81
cmp dword [ebp + 8], 0
je 0x45eb81
push esi
and dword [ebp - 4], 0
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp - 0x48]
call fcn.004dd659
mov esi, 0x68f370
mov byte [ebp - 4], 1
push esi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, esi
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.004440cd
lea eax, [ebx + 0x182c]
mov byte [ebp - 4], 3
cmp dword [ebp + 8], eax
jne 0x45da7b
add edi, 0x58
lea eax, [ebp - 0x48]
cmp edi, eax
je 0x45da70
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ecx, [ebp - 0x1d]
push ecx
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.00406116
mov eax, dword [ebx + 0xa0]
jmp 0x45db39
lea eax, [ebx + 0x1984]
cmp dword [ebp + 8], eax
jne 0x45db13
lea eax, [edi + 0x4c]
push 0xa
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0046113f
add esp, 0xc
push 1
mov byte [ebp - 4], 4
pop esi
cmp dword [edi + 0x28], esi
jl 0x45dadf
push 0xc
pop ebx
mov eax, dword [edi + 0xc4]
lea edx, [ebp - 0x1d]
push edx
mov ecx, dword [eax + ebx - 8]
lea eax, [eax + ebx - 0xc]
push ecx
lea ecx, [ebp - 0x68]
mov eax, dword [eax]
push eax
call fcn.00461746
push 0xa
lea ecx, [ebp - 0x68]
call fcn.00441e05
inc esi
add ebx, 0xc
cmp esi, dword [edi + 0x28]
jle 0x45daab
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x1d]
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call fcn.00406116
lea ecx, [ebx + 0xf4]
call fcn.0045983a
mov eax, dword [ebx + 0xa8]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
call fcn.00402c4b
jmp 0x45db3c
add edi, 0x88
lea eax, [ebp - 0x48]
cmp edi, eax
je 0x45db33
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ecx, [ebp - 0x1d]
push ecx
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.00406116
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x2c], eax
mov esi, 0x67ab38
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x48]
call fcn.00460e45
cmp eax, 0xffffffff
je 0x45db83
push 0x67ab34
push 2
push eax
lea ecx, [ebp - 0x48]
call fcn.004605d7
lea ecx, [ebp - 0x48]
cmp eax, ecx
je 0x45db41
lea ecx, [ebp - 0x1d]
push ecx
lea ecx, [ebp - 0x48]
push dword [eax + 4]
push dword [eax]
call fcn.00406116
jmp 0x45db41
lea ecx, [ebp - 0x54]
xor ebx, ebx
call fcn.00402cc4
mov dword [ebp - 0x24], 0xff0000
mov dword [ebp - 0x6c], ebx
lea eax, [ebp - 0x1d]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.004dd659
and byte [ebp - 0x684], bl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x683]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push 0x5b
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
stosb byte es:[edi], al
call fcn.00460dfe
mov esi, eax
cmp esi, 0xffffffff
je 0x45eb24
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
lea eax, [esi + 1]
lea ecx, [ebp - 0x48]
push eax
push 0x5b
call fcn.00460dfe
push esi
push 0x5d
lea ecx, [ebp - 0x48]
call fcn.00460dfe
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x1c]
call fcn.0040603f
cmp dword [ebp - 0x28], 0xffffffff
je 0x45eb0c
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
sub eax, esi
push eax
lea eax, [ebp - 0x1d8]
push esi
push eax
call fcn.00460669
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x45dc47
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp - 0x59]
push edx
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00406116
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 8
call fcn.00402c4b
push 9
lea eax, [ebp - 0x1c0]
push 0
push eax
lea ecx, [ebp - 0x54]
call fcn.00460669
push dword [0x68f58c]
mov byte [ebp - 4], 0xa
push dword [0x68f588]
push dword [eax + 4]
push dword [eax]
call fcn.004030c5
add esp, 0x10
lea ecx, [ebp - 0x1c0]
test eax, eax
sete byte [ebp - 0xd]
mov byte [ebp - 4], 8
call fcn.00402c4b
cmp byte [ebp - 0xd], 0
je 0x45df7f
sub esi, ebx
lea eax, [ebp - 0x1a8]
push esi
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00460669
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0xb
push dword [ebp - 0x2c]
push eax
call fcn.004e066a
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 8
call fcn.00402c4b
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x54]
add eax, 0xfffffff6
push eax
lea eax, [ebp - 0x1f0]
push 0xa
push eax
call fcn.00460669
lea ecx, [ebp - 0x1c]
push 0x2c
push ecx
push eax
mov byte [ebp - 4], 0xc
call fcn.0041d828
mov ecx, eax
call fcn.005458a5
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 8
call fcn.00402c4b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0xc
cdq
pop esi
idiv esi
cmp eax, 7
mov dword [ebp - 0x38], eax
jl 0x45eb24
push dword [ecx + 0x18]
call edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
push dword [eax]
call edi
pop ecx
pop ecx
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d4f3
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x30], eax
call fcn.00459c98
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x60], 1
jne 0x45dd72
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x30], eax
jl 0x45dd87
mov byte [ebp - 0xd], 1
mov byte [ebp - 0xe8], 1
jmp 0x45dd92
and byte [ebp - 0xd], 0
and byte [ebp - 0xe8], 0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xe4]
add eax, 0x24
mov dword [ebp - 0xfc], 3
cmp eax, ecx
je 0x45ddc2
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp - 0x56]
push edx
push ecx
push eax
lea ecx, [ebp - 0xe4]
call fcn.00406116
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x30]
call edi
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x3c]
call edi
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x48]
call edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xf4], eax
lea eax, [esi + 0x1984]
add esp, 0xc
cmp ecx, eax
jne 0x45de2d
cmp dword [esi + 0x60], 0
jne 0x45de2d
call fcn.004e144a
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [esi + 0xf4]
call fcn.00460813
mov ecx, eax
call fcn.0045eb91
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.MSVCRT.dll_sscanf]
lea ecx, [ebp - 0x24]
mov eax, dword [eax + 0x54]
push ecx
push 0x67aa20
push eax
call ebx
add esp, 0xc
cmp dword [esi + 0x60], 0
jne 0x45de7f
xor eax, eax
cmp dword [ebp - 0xf0], eax
je 0x45de72
cmp dword [ebp - 0xf8], eax
je 0x45de72
cmp dword [ebp - 0xf4], eax
je 0x45de72
mov eax, dword [ebp - 0x1c]
push 1
mov eax, dword [eax + 0x24]
jmp 0x45de7a
mov eax, dword [ebp - 0x1c]
push 2
mov eax, dword [eax + 0x24]
push dword [ebp - 0x24]
jmp 0x45de8a
mov eax, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp + 8]
push eax
call fcn.004e066a
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
call edi
cmp eax, 1
pop ecx
jne 0x45df56
cmp dword [ebp - 0x38], 0xa
jl 0x45df0e
cmp byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x1c]
je 0x45dece
mov eax, dword [eax + 0x60]
lea ecx, [ebp - 0x24]
push ecx
push 0x67aa20
push eax
call ebx
add esp, 0xc
push dword [ebp - 0x34]
push dword [ebp - 0x34]
jmp 0x45dee6
mov eax, dword [eax + 0x6c]
lea ecx, [ebp - 0x24]
push ecx
push 0x67aa20
push eax
call ebx
add esp, 0xc
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push str.__d__d
lea eax, [ebp - 0x684]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
and byte [ebp - 0x285], 0
push 2
push dword [ebp - 0x24]
jmp 0x45df47
cmp byte [ebp - 0xd], 0
push dword [ebp - 0x34]
je 0x45df1c
push dword [ebp - 0x34]
jmp 0x45df1f
push dword [ebp - 0x30]
push str.__d__d
lea eax, [ebp - 0x684]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
and byte [ebp - 0x285], 0
push 2
push 0xff00
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x684]
push eax
call fcn.004e066a
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 1]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.00402855
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe4]
call fcn.00402855
jmp 0x45eb0c
push 4
lea eax, [ebp - 0x208]
push 0
push eax
lea ecx, [ebp - 0x54]
call fcn.00460669
push dword [0x68f54c]
mov byte [ebp - 4], 0xf
push dword [0x68f548]
push dword [eax + 4]
push dword [eax]
call fcn.004030c5
add esp, 0x10
lea ecx, [ebp - 0x208]
test eax, eax
sete byte [ebp - 0xd]
mov byte [ebp - 4], 8
call fcn.00402c4b
cmp byte [ebp - 0xd], 0
je 0x45e178
sub esi, ebx
lea eax, [ebp - 0x220]
push esi
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00460669
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0x10
push dword [ebp - 0x2c]
push eax
call fcn.004e066a
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 8
call fcn.00402c4b
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x54]
add eax, 0xfffffffb
push eax
lea eax, [ebp - 0x238]
push 5
push eax
call fcn.00460669
lea ecx, [ebp - 0x1c]
push 0x2c
push ecx
push eax
mov byte [ebp - 4], 0x11
call fcn.0041d828
mov ecx, eax
call fcn.005458a5
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 8
call fcn.00402c4b
mov eax, dword [ebp - 0x18]
push 0xc
sub eax, dword [ebp - 0x1c]
pop ecx
cdq
idiv ecx
mov esi, eax
cmp esi, 4
jl 0x45eb24
lea ecx, [ebp - 0x19c]
call fcn.00459c98
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x180]
cmp eax, ecx
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x198], 1
je 0x45e098
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp - 0x55]
push edx
push ecx
push eax
lea ecx, [ebp - 0x180]
call fcn.00406116
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
call edi
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x18]
call edi
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x24]
call edi
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x190], eax
add esp, 0xc
lea eax, [ebx + 0x1984]
cmp dword [ebp + 8], eax
jne 0x45e0fe
cmp dword [ebx + 0x60], 0
jne 0x45e141
mov ecx, dword [ebp + 8]
call fcn.004e144a
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebx + 0xf4]
call fcn.00460813
mov ecx, eax
call fcn.0045eb91
cmp dword [ebx + 0x60], 0
jne 0x45e141
cmp esi, 4
jne 0x45e117
mov eax, dword [ebp - 0x1c]
push 1
push 0xff00
mov eax, dword [eax]
jmp 0x45e14b
cmp esi, 5
jl 0x45e154
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push ecx
push 0x67aa20
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [eax]
push 1
push dword [ebp - 0x24]
jmp 0x45e14b
mov eax, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
call fcn.004e066a
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 1]
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x13
call fcn.00402855
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x180]
jmp 0x45df75
push 4
lea eax, [ebp - 0x214]
push 0
push eax
lea ecx, [ebp - 0x54]
call fcn.00460669
push dword [0x68f57c]
mov byte [ebp - 4], 0x14
push dword [0x68f578]
push dword [eax + 4]
push dword [eax]
call fcn.004030c5
add esp, 0x10
test eax, eax
sete byte [ebp - 0xd]
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 0x15
call fcn.00402b84
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 8
je 0x45e3c5
sub esi, ebx
lea eax, [ebp - 0x1cc]
push esi
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00460669
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0x16
push dword [ebp - 0x2c]
push eax
call fcn.004e066a
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x17
call fcn.00402b84
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x54]
add eax, 0xfffffffb
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x244]
push 5
push eax
call fcn.00460669
lea ecx, [ebp - 0x1c]
push 0x2c
push ecx
push eax
mov byte [ebp - 4], 0x18
call fcn.0041d828
mov ecx, eax
call fcn.005458a5
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x19
call fcn.00402b84
mov eax, dword [ebp - 0x18]
push 0xc
sub eax, dword [ebp - 0x1c]
pop ecx
mov byte [ebp - 4], 8
cdq
idiv ecx
cmp eax, 6
mov dword [ebp - 0x38], eax
jl 0x45eb24
lea ecx, [ebp - 0x134]
call fcn.00459c98
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x118]
cmp eax, ecx
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x130], 2
je 0x45e29e
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp - 0x57]
push edx
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.00406116
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
call edi
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x18]
call edi
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x24]
call edi
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x30]
call edi
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x3c]
call edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
add esp, 0x14
lea ebx, [eax + 0xb8]
lea eax, [ebp - 0x74]
push eax
mov ecx, ebx
call fcn.005e3890
cmp eax, dword [ebx]
je 0x45e31c
cmp dword [eax + 0x14], 1
je 0x45e315
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x3c]
call edi
test eax, eax
pop ecx
je 0x45e315
and byte [ebp - 0x11c], 0
jmp 0x45e31c
mov byte [ebp - 0x11c], 1
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x1984]
cmp esi, eax
jne 0x45e353
mov ecx, esi
call fcn.004e144a
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebx + 0xf4]
call fcn.00460813
mov ecx, eax
call fcn.0045eb91
cmp dword [ebx + 0x60], 0
jne 0x45e38f
cmp dword [ebp - 0x38], 7
mov eax, dword [ebp - 0x1c]
jl 0x45e384
mov eax, dword [eax + 0x48]
lea ecx, [ebp - 0x24]
push ecx
push 0x67aa20
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [eax]
push 1
push dword [ebp - 0x24]
jmp 0x45e399
mov eax, dword [eax]
push 1
push 0xff00
jmp 0x45e399
mov eax, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x2c]
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004e066a
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 1]
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x1b
call fcn.00402c4b
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x118]
jmp 0x45df75
push 0xa
lea eax, [ebp - 0x1e4]
push 0
push eax
lea ecx, [ebp - 0x54]
call fcn.00460669
push dword [0x68f56c]
mov byte [ebp - 4], 0x1c
push dword [0x68f568]
push dword [eax + 4]
push dword [eax]
call fcn.004030c5
add esp, 0x10
test eax, eax
sete byte [ebp - 0xd]
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x1d
call fcn.00402b84
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 8
je 0x45e6d2
sub esi, ebx
lea eax, [ebp - 0x22c]
push esi
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00460669
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0x1e
push dword [ebp - 0x2c]
push eax
call fcn.004e066a
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x1f
call fcn.00402b84
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x54]
add eax, 0xfffffff5
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1fc]
push 0xb
push eax
call fcn.00460669
lea ecx, [ebp - 0x1c]
push 0x2c
push ecx
push eax
mov byte [ebp - 4], 0x20
call fcn.0041d828
mov ecx, eax
call fcn.005458a5
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x21
call fcn.00402b84
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0xc
cdq
pop esi
mov byte [ebp - 4], 8
idiv esi
cmp eax, 8
mov dword [ebp - 0x38], eax
jl 0x45eb24
push dword [ecx + 0x24]
call edi
and dword [ebp - 0x30], 0
and byte [ebp - 0xd], 0
mov ebx, eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x18]
call edi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
pop ecx
lea esi, [eax + 0xb8]
pop ecx
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.005e3890
cmp eax, dword [esi]
je 0x45e4f9
mov eax, dword [eax + 0x14]
cmp eax, ebx
jl 0x45e4f2
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x30], ebx
jmp 0x45e4f9
and byte [ebp - 0xd], 0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x168]
call fcn.00459c98
cmp byte [ebp - 0xd], 0
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x164], 4
setne al
mov byte [ebp - 0x150], al
mov eax, dword [ebp - 0x1c]
add eax, 0x30
cmp eax, ecx
je 0x45e545
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp - 0x58]
push edx
push ecx
push eax
lea ecx, [ebp - 0x14c]
call fcn.00406116
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x3c]
call edi
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x48]
call edi
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x54]
call edi
mov esi, dword [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x15c], eax
cmp dword [esi + 0x60], 0
jne 0x45e5b3
cmp dword [ebp - 0x38], 9
mov eax, dword [ebp - 0x1c]
jl 0x45e5a7
mov eax, dword [eax + 0x60]
lea ecx, [ebp - 0x24]
push ecx
push 0x67aa20
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [eax + 0x30]
push 1
push dword [ebp - 0x24]
jmp 0x45e5be
mov eax, dword [eax + 0x30]
push 1
push 0xff00
jmp 0x45e5be
mov eax, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
push eax
call fcn.004e066a
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
call edi
cmp eax, 1
pop ecx
jne 0x45e675
cmp byte [ebp - 0xd], 0
push ebx
je 0x45e5e3
push ebx
jmp 0x45e5e6
push dword [ebp - 0x30]
push str.__d__d
lea eax, [ebp - 0x684]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [ebp - 0x285], 0
add esp, 0x14
cmp dword [ebp - 0x38], 0xb
jl 0x45e65f
cmp byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x1c]
je 0x45e61b
mov eax, dword [eax + 0x6c]
jmp 0x45e61e
mov eax, dword [eax + 0x78]
lea ecx, [ebp - 0x24]
push ecx
push 0x67aa20
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x684]
push 2
push dword [ebp - 0x24]
push eax
call fcn.004e066a
cmp dword [ebp - 0x38], 0xc
jl 0x45e675
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x84]
call edi
pop ecx
mov dword [ebp - 0x168], eax
jmp 0x45e675
mov ecx, dword [ebp + 8]
push 2
lea eax, [ebp - 0x684]
push 0xff00
push eax
call fcn.004e066a
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x1984]
cmp ecx, eax
jne 0x45e6ae
cmp dword [esi + 0x60], 0
jne 0x45e6ae
call fcn.004e144a
dec eax
lea ecx, [esi + 0xf4]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00460813
mov ecx, eax
call fcn.0045eb91
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 1]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x23
call fcn.00402c4b
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14c]
jmp 0x45df75
push 9
lea eax, [ebp - 0x250]
push 0
push eax
lea ecx, [ebp - 0x54]
call fcn.00460669
push dword [0x68f59c]
mov byte [ebp - 4], 0x24
push dword [0x68f598]
push dword [eax + 4]
push dword [eax]
call fcn.004030c5
add esp, 0x10
test eax, eax
sete byte [ebp - 0xd]
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x25
call fcn.00402b84
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 8
je 0x45e963
sub esi, ebx
lea eax, [ebp - 0x1b4]
push esi
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00460669
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0x26
push dword [ebp - 0x2c]
push eax
call fcn.004e066a
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0x27
call fcn.00402b84
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x54]
add eax, 0xfffffff6
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xb0]
push 0xa
push eax
call fcn.00460669
lea ecx, [ebp - 0x1c]
push 0x2c
push ecx
push eax
mov byte [ebp - 4], 0x28
call fcn.0041d828
mov ecx, eax
call fcn.005458a5
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x29
call fcn.00402b84
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0xc
cdq
pop esi
mov byte [ebp - 4], 8
idiv esi
cmp eax, 5
mov dword [ebp - 0x38], eax
jl 0x45eb24
push dword [ecx + 0x24]
call edi
and dword [ebp - 0x34], 0
and byte [ebp - 0xd], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x18]
call edi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
pop ecx
lea esi, [eax + 0xb8]
pop ecx
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.005e3890
cmp eax, dword [esi]
je 0x45e805
mov eax, dword [eax + 0x14]
cmp eax, dword [ebp - 0x30]
jl 0x45e805
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x284]
call fcn.00459c98
cmp byte [ebp - 0xd], 0
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 0x2a
setne al
mov byte [ebp - 0x26c], al
lea eax, [esi + 0x1984]
cmp ebx, eax
mov dword [ebp - 0x280], 5
jne 0x45e86e
cmp dword [esi + 0x60], 0
jne 0x45e86e
mov ecx, ebx
call fcn.004e144a
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [esi + 0xf4]
call fcn.00460813
mov ecx, eax
call fcn.0045eb91
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
call edi
cmp eax, 1
pop ecx
jne 0x45e949
cmp dword [esi + 0x60], 0
jne 0x45e8be
cmp dword [ebp - 0x38], 6
mov eax, dword [ebp - 0x1c]
jne 0x45e8b2
mov eax, dword [eax + 0x3c]
lea ecx, [ebp - 0x24]
push ecx
push 0x67aa20
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [eax + 0x30]
push 1
push dword [ebp - 0x24]
jmp 0x45e8c9
mov eax, dword [eax + 0x30]
push 1
push 0xff00
jmp 0x45e8c9
mov eax, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
push eax
mov ecx, ebx
call fcn.004e066a
cmp byte [ebp - 0xd], 0
push dword [ebp - 0x30]
je 0x45e8df
push dword [ebp - 0x30]
jmp 0x45e8e2
push dword [ebp - 0x34]
push str.__d__d
lea eax, [ebp - 0x684]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [ebp - 0x285], 0
add esp, 0x14
cmp dword [ebp - 0x38], 8
jl 0x45e934
cmp byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x1c]
je 0x45e917
mov eax, dword [eax + 0x48]
jmp 0x45e91a
mov eax, dword [eax + 0x54]
lea ecx, [ebp - 0x24]
push ecx
push 0x67aa20
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
push 2
push dword [ebp - 0x24]
jmp 0x45e93b
push 2
push 0xff00
lea eax, [ebp - 0x684]
mov ecx, ebx
push eax
call fcn.004e066a
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 8
lea ebx, [eax + 1]
call fcn.004599c2
jmp 0x45eb0c
push 5
lea eax, [ebp - 0x68]
push 0
push eax
lea ecx, [ebp - 0x54]
call fcn.00460669
push dword [0x68f55c]
mov byte [ebp - 4], 0x2b
push dword [0x68f558]
push dword [eax + 4]
push dword [eax]
call fcn.004030c5
add esp, 0x10
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x60]
sub eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x2c
push eax
push dword [ebp - 0x68]
call fcn.00402ba8
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 8
je 0x45eb0c
sub esi, ebx
lea eax, [ebp - 0x98]
push esi
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00460669
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0x2d
push dword [ebp - 0x2c]
push eax
call fcn.004e066a
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x90]
sub eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0x2e
push eax
push dword [ebp - 0x98]
call fcn.00402ba8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x54]
add eax, 0xfffffffa
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xa4]
push 6
push eax
call fcn.00460669
lea ecx, [ebp - 0x1c]
push 0x2c
push ecx
push eax
mov byte [ebp - 4], 0x2f
call fcn.0041d828
mov ecx, eax
call fcn.005458a5
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x9c]
sub eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x30
push eax
push dword [ebp - 0xa4]
call fcn.00402ba8
mov eax, dword [ebp - 0x18]
push 0xc
sub eax, dword [ebp - 0x1c]
pop ecx
mov byte [ebp - 4], 8
cdq
idiv ecx
cmp eax, 7
jl 0x45eb24
lea ecx, [ebp - 0xcc]
call fcn.00459c7f
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
push ecx
push 0x676798
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
call edi
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x18]
call edi
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x24]
call edi
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x30]
call edi
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x3c]
call edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x48]
call edi
add esp, 0x24
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [ebp - 0x3c]
lea ecx, [eax + 0xe8]
call fcn.004607d9
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 1]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push 0x5b
call fcn.00460dfe
mov esi, eax
cmp esi, 0xffffffff
jne 0x45dbdf
push 0xffffffffffffffff
lea eax, [ebp - 0xb0]
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00460669
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0x31
push dword [ebp - 0x2c]
push eax
call fcn.004e066a
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x32
call fcn.00402b84
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00405ff9
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x33
call fcn.00402b84
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0x34
call fcn.00402b84
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8