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

Disassembly:
push 0xffffffffffffffff
push 0x4c8016
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov eax, dword [esp + 0x120]
mov esi, dword [esp + 0x124]
mov edx, dword [esp + 0x138]
mov edi, dword [esp + 0x12c]
mov ebp, dword [esp + 0x130]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x134]
push 6
xor ebx, ebx
push ebx
mov dword [esp + 0x34], ecx
push 0x4d2764
mov ecx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ebx
call fcn.00406270
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x408d5e
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x30]
mov byte [ecx], bl
test ebp, ebp
je 0x40916d
cmp eax, 0xc
jne 0x408f27
push eax
push 0
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call fcn.00407890
mov ecx, dword [eax + 0x10]
push 0xc
push str.basic_string
push ecx
mov ebx, 1
push 0
mov ecx, eax
mov dword [esp + 0x128], 0
mov dword [esp + 0x28], ebx
call fcn.004062f0
test eax, eax
je 0x408f6f
mov byte [esp + 0x15], 0
mov edi, 0x10
test bl, 2
je 0x408dee
and ebx, 0xfffffffd
cmp dword [esp + 0x48], edi
jb 0x408dd9
mov edx, dword [esp + 0x34]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x118], 0xffffffff
test bl, 1
je 0x408e11
cmp dword [esp + 0x64], edi
jb 0x408e11
mov eax, dword [esp + 0x50]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x15], 0
je 0x4095e0
push 4
inc ebp
push ebp
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00407890
mov edx, dword [eax + 0x10]
push 4
push str.WORD
push edx
push 0
mov ecx, eax
mov dword [esp + 0x128], 2
call fcn.004062f0
test eax, eax
sete bl
mov byte [esp + 0x1c], bl
mov dword [esp + 0x118], 0xffffffff
cmp dword [esp + 0x48], edi
jb 0x408e72
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ebp, ebp
test bl, bl
je 0x408f79
push 7
mov ebx, 0xf
push str.wchar_t
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
call fcn.00406dc0
push 4
push str.WORD
lea ecx, [esp + 0x58]
mov dword [esp + 0x120], 3
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebp
mov byte [esp + 0x58], 0
call fcn.00406dc0
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x54]
push edx
push esi
mov ecx, ebx
mov byte [esp + 0x124], 4
call fcn.004084d0
cmp dword [esp + 0x64], edi
jb 0x408ef7
mov eax, dword [esp + 0x50]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebp
mov byte [esp + 0x50], 0
cmp dword [esp + 0x48], edi
jb 0x408f1b
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x2c]
add dword [eax], 9
jmp 0x408ff5
cmp eax, 0xb
jne 0x408db4
push eax
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00407890
mov ecx, dword [eax + 0x10]
push 0xb
push str.BasicString
push ecx
mov ebx, 2
push 0
mov ecx, eax
mov dword [esp + 0x128], 1
mov dword [esp + 0x28], ebx
call fcn.004062f0
test eax, eax
jne 0x408db4
mov byte [esp + 0x15], 1
jmp 0x408db9
push 4
push ebp
push str.BYTE
mov ecx, esi
call fcn.004061c0
cmp eax, 0xffffffff
je 0x408fed
push str.u_char
lea ecx, [esp + 0x54]
call fcn.004077c0
push str.BYTE
lea ecx, [esp + 0x38]
mov dword [esp + 0x11c], 5
call fcn.004077c0
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x38]
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x124], 6
call fcn.004084d0
lea ecx, [esp + 0x34]
call fcn.00406510
lea ecx, [esp + 0x50]
call fcn.00406510
mov eax, dword [esp + 0x2c]
add dword [eax], 6
jmp 0x408ff5
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
push 2
push eax
push 0x4d25c8
mov ecx, esi
xor edi, edi
call fcn.00406270
cmp eax, 0xffffffff
je 0x409026
lea ecx, [ecx]
push 2
inc eax
push eax
push 0x4d25c8
mov ecx, esi
inc edi
call fcn.00406270
cmp eax, 0xffffffff
jne 0x409010
mov esi, dword [esp + 0x28]
mov eax, edi
sub eax, ebp
je 0x409105
dec eax
je 0x409077
mov ecx, dword [esi]
mov eax, dword [ecx]
cmp eax, ebp
je 0x409065
push eax
lea edx, [esp + 0x70]
push str.0x_08X
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp edi, ebp
je 0x409124
mov eax, 1
jmp 0x409129
push str.NULL
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x409053
mov eax, dword [esi]
mov edi, dword [esp + 0x128]
cmp dword [eax], ebp
je 0x4090a1
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
push ecx
add edx, 4
push edx
lea eax, [esp + 0xd4]
push eax
push edi
mov ecx, ebx
call fcn.00405b20
jmp 0x4090b4
push str.NULL
lea ecx, [esp + 0xd0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test edi, 0x2000
je 0x4090de
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x70]
push 0x4d25d8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, 1
jmp 0x409129
mov edx, dword [esi]
mov eax, dword [edx]
lea ecx, [esp + 0xcc]
push ecx
push eax
lea ecx, [esp + 0x74]
push str.0x_08X__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, 1
jmp 0x409129
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
push edx
mov edx, dword [esp + 0x12c]
add eax, 4
push eax
lea ecx, [esp + 0x74]
push ecx
push edx
mov ecx, ebx
call fcn.00405b20
mov eax, 4
add eax, eax
add eax, eax
add dword [esi], eax
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x6c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebp
mov dword [esp + 0x118], 0xffffffff
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409152
sub eax, edx
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.00406dc0
jmp 0x409ca8
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x16]
push edx
push 0
push esi
call fcn.00406880
cmp dword [esp + 0x1c], 7
mov ebp, eax
jne 0x4091c8
push 7
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00407890
mov ecx, dword [eax + 0x10]
push 7
push str.CString
push ecx
mov ebx, 8
push 0
mov ecx, eax
mov dword [esp + 0x128], 9
mov dword [esp + 0x28], ebx
call fcn.004062f0
mov byte [esp + 0x15], 1
test eax, eax
je 0x4091cd
mov byte [esp + 0x15], 0
mov dword [esp + 0x118], 0xffffffff
test bl, 8
je 0x4091f4
and ebx, 0xfffffff7
cmp dword [esp + 0x48], 0x10
jb 0x4091f4
mov edx, dword [esp + 0x34]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x15], 0
je 0x40926b
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
push ebp
push 0
push 1
push 0
push edi
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x140]
push edx
push eax
push esi
call fcn.004068f0
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x6c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [esp + 0x118], 0xffffffff
mov byte [esi], 0
lea edx, [eax + 1]
jmp 0x409250
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409250
sub eax, edx
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.00406dc0
jmp 0x409ca8
cmp dword [esp + 0x1c], 7
jne 0x4092b1
push 7
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00407890
mov ecx, dword [eax + 0x10]
push 7
push str._bstr_t
push ecx
or ebx, 0x10
push 0
mov ecx, eax
mov dword [esp + 0x128], 0xc
mov dword [esp + 0x28], ebx
call fcn.004062f0
mov byte [esp + 0x15], 1
test eax, eax
je 0x4092b6
mov byte [esp + 0x15], 0
mov dword [esp + 0x118], 0xffffffff
test bl, 0x10
je 0x4092dd
and ebx, 0xffffffef
cmp dword [esp + 0x48], 0x10
jb 0x4092dd
mov edx, dword [esp + 0x34]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x15], 0
je 0x40935b
mov eax, dword [edi]
mov edx, dword [esp + 0x2c]
push ebp
push 0
push 0xffffffffffffffff
push 1
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x140]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push esi
call fcn.004068f0
mov esi, dword [esp + 0x24]
add dword [edi], 4
lea eax, [esp + 0x6c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [esp + 0x118], 0xffffffff
mov byte [esi], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409340
sub eax, edx
push eax
lea edx, [esp + 0x70]
push edx
mov ecx, esi
call fcn.00406dc0
jmp 0x409ca8
cmp ebp, 1
jne 0x4093b2
cmp dword [esp + 0x1c], 4
jne 0x4093b2
push 4
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00407890
push str.char
or ebx, 0x20
push eax
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
test al, al
je 0x4093b2
mov ecx, dword [edi]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
push edx
call fcn.00405f40
mov byte [esp + 0x15], 1
test al, al
jne 0x4093b7
mov byte [esp + 0x15], 0
mov dword [esp + 0x118], 0xffffffff
test bl, 0x20
je 0x4093d3
lea ecx, [esp + 0x34]
and ebx, 0xffffffdf
call fcn.00406510
cmp byte [esp + 0x15], 0
je 0x409402
mov eax, dword [edi]
mov edx, dword [esp + 0x128]
push 0
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00405b20
add dword [edi], 4
lea eax, [esp + 0x6c]
push eax
jmp 0x409c9d
cmp ebp, 1
jne 0x409466
test dword [esp + 0x128], 0x4000
jne 0x409466
cmp dword [esp + 0x1c], 4
jne 0x409466
push 4
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00407890
push str.WORD
or ebx, 0x40
push eax
mov dword [esp + 0x120], 0x10
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
test al, al
je 0x409466
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00405fb0
mov byte [esp + 0x15], 1
test al, al
jne 0x40946b
mov byte [esp + 0x15], 0
mov dword [esp + 0x118], 0xffffffff
test bl, 0x40
je 0x409487
lea ecx, [esp + 0x34]
and ebx, 0xffffffbf
call fcn.00406510
cmp byte [esp + 0x15], 0
je 0x40951a
push str.wchar_t
lea ecx, [esp + 0x54]
call fcn.004077c0
push str.WORD
lea ecx, [esp + 0x38]
mov dword [esp + 0x11c], 0x11
call fcn.004077c0
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
mov byte [esp + 0x124], 0x12
call fcn.004084d0
lea ecx, [esp + 0x34]
call fcn.00406510
lea ecx, [esp + 0x50]
mov dword [esp + 0x118], 0xffffffff
call fcn.00406510
mov eax, dword [edi]
mov edx, dword [esp + 0x128]
push 1
push eax
lea ecx, [esp + 0x74]
push ecx
push edx
mov ecx, esi
call fcn.00405b20
add dword [edi], 4
lea eax, [esp + 0x6c]
push eax
jmp 0x409c9d
test ebp, ebp
je 0x409532
cmp byte [esp + 0x16], 0
je 0x4095e4
cmp ebp, 1
jne 0x4095e4
mov eax, dword [esp + 0x128]
mov ecx, eax
and ecx, 0x40000
je 0x40954f
mov byte [esp + 0x15], 1
test eax, 0x80000
je 0x409564
mov byte [esp + 0x15], 0
test eax, 0x80000
je 0x409564
mov byte [esp + 0x17], 1
test ecx, ecx
je 0x409569
mov byte [esp + 0x17], 0
cmp dword [esp + 0x1c], 4
jne 0x4095ac
push 4
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00407890
push str.char
or ebx, 0x80
push eax
mov dword [esp + 0x120], 0x13
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x4095b1
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test bl, bl
jns 0x4095cf
lea ecx, [esp + 0x34]
and ebx, 0xffffff7f
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x40963b
mov edx, str._c
jmp 0x409847
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x70]
add eax, 4
push str.0x_08X
push ecx
mov dword [edi], eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
add esp, 0xc
mov byte [esi], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409620
sub eax, edx
push eax
lea edx, [esp + 0x70]
push edx
mov ecx, esi
call fcn.00406dc0
jmp 0x409ca8
mov ebp, dword [esp + 0x1c]
cmp ebp, 5
jne 0x40967f
push ebp
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00407890
push str.short
or ebx, 0x100
push eax
mov dword [esp + 0x120], 0x14
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x409684
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x100
je 0x4096a6
lea ecx, [esp + 0x34]
and ebx, 0xfffffeff
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x4096c2
cmp byte [esp + 0x17], 0
jne 0x409842
mov edx, 0x4d26fc
jmp 0x409847
cmp ebp, 3
jne 0x409702
push ebp
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00407890
push 0x4d26f8
or ebx, 0x200
push eax
mov dword [esp + 0x120], 0x15
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x409707
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x200
je 0x409729
lea ecx, [esp + 0x34]
and ebx, 0xfffffdff
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x409745
cmp byte [esp + 0x17], 0
jne 0x409842
mov edx, 0x4d26f4
jmp 0x409847
cmp ebp, 4
jne 0x409785
push ebp
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00407890
push str.long
or ebx, 0x400
push eax
mov dword [esp + 0x120], 0x16
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x40978a
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x400
je 0x4097ac
lea ecx, [esp + 0x34]
and ebx, 0xfffffbff
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x4097c8
cmp byte [esp + 0x17], 0
jne 0x409842
mov edx, 0x4d26e8
jmp 0x409847
cmp ebp, 5
jne 0x409808
push ebp
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00407890
push str.DWORD
or ebx, 0x800
push eax
mov dword [esp + 0x120], 0x17
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x40980d
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x800
je 0x40982f
lea ecx, [esp + 0x34]
and ebx, 0xfffff7ff
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x409873
cmp byte [esp + 0x15], 0
mov edx, 0x4d26e8
jne 0x409847
mov edx, str.0x_X
mov eax, dword [edi]
mov ecx, dword [eax]
add eax, 4
cmp byte [esp + 0x16], 0
je 0x409857
mov ecx, dword [ecx]
push ecx
push edx
lea edx, [esp + 0x74]
push edx
mov dword [edi], eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
jmp 0x409c9d
cmp ebp, 7
jne 0x4098b3
push ebp
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00407890
push str.__int64
or ebx, 0x1000
push eax
mov dword [esp + 0x120], 0x18
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x4098b8
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x1000
je 0x4098da
lea ecx, [esp + 0x34]
and ebx, 0xffffefff
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x4098f6
cmp byte [esp + 0x17], 0
jne 0x409970
mov edx, str._I64d
jmp 0x409975
cmp ebp, 7
jne 0x409936
push ebp
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00407890
push str.DWORD64
or ebx, 0x2000
push eax
mov dword [esp + 0x120], 0x19
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x40993b
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x2000
je 0x40995d
lea ecx, [esp + 0x34]
and ebx, 0xffffdfff
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x4099be
cmp byte [esp + 0x15], 0
mov edx, str._I64d
jne 0x409975
mov edx, str.0x_I64X
cmp byte [esp + 0x16], 0
mov eax, dword [edi]
je 0x4099a0
mov ecx, dword [eax]
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
add eax, 4
push esi
mov dword [edi], eax
push edx
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
jmp 0x409c98
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
push edx
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
add dword [edi], 8
jmp 0x409c98
cmp ebp, 5
jne 0x4099fe
push ebp
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00407890
push str.float
or ebx, 0x4000
push eax
mov dword [esp + 0x120], 0x1a
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x409a03
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x4000
je 0x409a25
lea ecx, [esp + 0x34]
and ebx, 0xffffbfff
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x409a5b
cmp byte [esp + 0x16], 0
mov eax, dword [edi]
je 0x409a49
mov ecx, dword [eax]
fld dword [ecx]
add eax, 4
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x409ae0
fld dword [eax]
add eax, 4
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x409ae0
cmp ebp, 6
jne 0x409a9b
push ebp
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00407890
push str.double
or ebx, 0x8000
push eax
mov dword [esp + 0x120], 0x1b
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x409aa0
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x8000
je 0x409ac2
lea ecx, [esp + 0x34]
and ebx, 0xffff7fff
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x409b05
cmp byte [esp + 0x16], 0
mov eax, dword [edi]
je 0x409adb
mov ecx, dword [eax]
fld qword [ecx]
add eax, 4
jmp 0x409ae0
fld qword [eax]
add eax, 8
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x74]
push 0x4d26a4
push edx
mov dword [edi], eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
lea eax, [esp + 0x6c]
push eax
jmp 0x409c9d
cmp ebp, 4
jne 0x409b45
push ebp
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00407890
push str.BYTE
or ebx, 0x10000
push eax
mov dword [esp + 0x120], 0x1c
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x409b4a
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x10000
je 0x409b6c
lea ecx, [esp + 0x34]
and ebx, 0xfffeffff
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x409b8b
cmp byte [esp + 0x15], 0
je 0x409b84
mov edx, str._hd__hc_
jmp 0x409c04
mov edx, str.0x_X__hc_
jmp 0x409c04
cmp ebp, 4
jne 0x409bcb
push ebp
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00407890
push str.WORD
or ebx, 0x20000
push eax
mov dword [esp + 0x120], 0x1d
mov dword [esp + 0x20], ebx
call fcn.004067a0
add esp, 8
mov byte [esp + 0x14], 1
test al, al
jne 0x409bd0
mov byte [esp + 0x14], 0
mov dword [esp + 0x118], 0xffffffff
test ebx, 0x20000
je 0x409bec
lea ecx, [esp + 0x34]
call fcn.00406510
cmp byte [esp + 0x14], 0
je 0x409c32
cmp byte [esp + 0x15], 0
mov edx, str._hd__lC_
jne 0x409c04
mov edx, str.0x_X__lC_
cmp byte [esp + 0x16], 0
mov ecx, dword [edi]
je 0x409c14
mov eax, dword [ecx]
movzx eax, word [eax]
jmp 0x409c17
movzx eax, word [ecx]
movzx eax, ax
push eax
add ecx, 4
push eax
mov dword [edi], ecx
push edx
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
jmp 0x409c98
cmp byte [esp + 0x16], 0
jne 0x409c7a
mov ecx, dword [esp + 0x20]
push str._...
push 0x4d2668
push 3
push edi
lea eax, [esp + 0x44]
push eax
call fcn.00408550
cmp dword [eax + 0x14], 0x10
jb 0x409c5c
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x34]
call fcn.00406510
mov edx, dword [esp + 0x30]
mov byte [edx], 1
jmp 0x409c98
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
push ecx
lea ecx, [esp + 0x74]
push str.0x_08X_0x_08X__...
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
add dword [edi], 4
lea edx, [esp + 0x6c]
push edx
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.004077c0
mov eax, esi
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.004c6212
add esp, 0x108
ret 0x1c