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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c92d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
push ebx
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c0], ebx
call fcn.005589e0
mov al, byte [esp + 0x1f]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c0], 2
call fcn.00558060
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c0], 3
call fcn.00558060
mov edi, 0x609960
mov esi, 0x609958
mov edx, 0x609950
mov ecx, 0x609948
mov eax, 0x609940
mov byte [esp + 0x2c0], 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x220], 0x609938
mov dword [esp + 0x224], 0x609930
mov dword [esp + 0x228], 0x609928
mov dword [esp + 0x22c], 0x609920
mov dword [esp + 0x230], 0x609918
mov dword [esp + 0x234], 0x609910
mov dword [esp + 0x238], 0x609908
mov dword [esp + 0x23c], 0x609900
mov dword [esp + 0x240], 0x6098f8
mov dword [esp + 0x244], 0x6098f0
mov dword [esp + 0x248], 0x6098e8
mov dword [esp + 0x24c], 0x6098e0
mov dword [esp + 0x250], 0x6098d8
mov dword [esp + 0x254], 0x6098d0
mov dword [esp + 0x258], 0x6098c8
mov dword [esp + 0x25c], 0x6098c0
mov dword [esp + 0x260], 0x6098b8
mov dword [esp + 0x264], 0x6098b0
mov dword [esp + 0x268], ebx
mov dword [esp + 0xa4], 0x6098a8
mov dword [esp + 0xa8], 0x6098a0
mov dword [esp + 0xac], 0x609898
mov dword [esp + 0xb0], 0x609890
mov dword [esp + 0xb4], 0x609888
mov dword [esp + 0xb8], 0x609880
mov dword [esp + 0xbc], 0x609878
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], 0x609870
mov dword [esp + 0xc8], 0x609868
mov dword [esp + 0xcc], 0x609860
mov dword [esp + 0xd0], 0x609858
mov dword [esp + 0xd4], 0x609850
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0x609848
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], 0x609840
mov dword [esp + 0xf4], 0x609838
mov dword [esp + 0xf8], 0x609830
mov dword [esp + 0xfc], 0x609828
mov dword [esp + 0x100], 0x609820
mov dword [esp + 0x104], 0x609818
mov dword [esp + 0x108], 0x609810
mov dword [esp + 0x10c], 0x609808
mov dword [esp + 0x110], 0x609800
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], 0x6097f8
mov dword [esp + 0x11c], 0x6097f0
mov dword [esp + 0x120], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edx
mov edi, 0x6097e8
mov esi, 0x6097e0
mov edx, 0x6097d8
mov ecx, 0x6097d0
mov dword [esp + 0x124], 0x6097c8
mov dword [esp + 0x128], 0x6097c0
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], 0x6097b8
mov dword [esp + 0x138], ebx
mov dword [esp + 0x58], 0x6098a8
mov dword [esp + 0x5c], 0x6098a0
mov dword [esp + 0x60], 0x609898
mov dword [esp + 0x64], 0x609890
mov dword [esp + 0x68], 0x609888
mov dword [esp + 0x6c], 0x609880
mov dword [esp + 0x70], 0x609878
mov dword [esp + 0x78], 0x6097b0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x609860
mov dword [esp + 0x88], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x609848
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x188], 0x6097a8
mov dword [esp + 0x18c], edi
mov dword [esp + 0x190], 0x6097a0
mov dword [esp + 0x194], esi
mov dword [esp + 0x198], 0x609798
mov dword [esp + 0x19c], edx
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], 0x609790
mov dword [esp + 0x1a8], 0x609788
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], 0x609780
mov dword [esp + 0x1b4], 0x609778
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0x609770
mov dword [esp + 0x1c0], 0x609768
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], 0x609760
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x13c], 0x6097a8
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], 0x6097a0
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], 0x609798
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], 0x609758
mov dword [esp + 0x15c], 0x609750
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0x609748
mov dword [esp + 0x168], 0x609740
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], 0x609860
mov dword [esp + 0x174], 0x609738
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], 0x609760
mov dword [esp + 0x184], ebx
mov dword [esp + 0x26c], 0x609840
mov dword [esp + 0x270], 0x609730
mov dword [esp + 0x274], edx
mov dword [esp + 0x278], edi
mov dword [esp + 0x27c], ecx
mov dword [esp + 0x280], 0x609818
mov dword [esp + 0x284], esi
mov dword [esp + 0x288], 0x609728
mov dword [esp + 0x28c], 0x609720
mov dword [esp + 0x290], eax
mov dword [esp + 0x294], 0x609718
mov dword [esp + 0x298], 0x609710
mov dword [esp + 0x29c], eax
mov dword [esp + 0x2a0], 0x609708
mov esi, dword [0x619c28]
mov dword [esp + 0x2a4], 0x609700
cmp esi, 0x44369
mov dword [esp + 0x2a8], 0x6096f8
mov dword [esp + 0x2ac], 0x6096f0
mov dword [esp + 0x2b0], 0x609848
mov dword [esp + 0x2b4], ebx
mov dword [esp + 0x1d4], 0x6096e8
mov dword [esp + 0x1d8], 0x609828
mov dword [esp + 0x1dc], 0x609938
mov dword [esp + 0x1e0], 0x609810
mov dword [esp + 0x1e4], 0x6096e0
mov dword [esp + 0x1e8], 0x609898
mov dword [esp + 0x1ec], 0x609820
mov dword [esp + 0x1f0], 0x6096d8
mov dword [esp + 0x1f4], 0x6096d0
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], 0x6096c8
mov dword [esp + 0x200], 0x6096c0
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], 0x6096b8
mov dword [esp + 0x20c], 0x6096b0
mov dword [esp + 0x210], 0x6096a8
mov dword [esp + 0x214], 0x6096a0
mov dword [esp + 0x218], 0x609698
mov dword [esp + 0x21c], ebx
je 0x408071
cmp esi, 0x44367
je 0x408071
cmp esi, 0x44368
mov dword [esp + 0x38], 0xb71b0
jne 0x408079
mov dword [esp + 0x38], 0x7a120
push 5
lea ecx, [ebp + 8]
call fcn.00558380
lea ecx, [esp + 0x3c]
mov byte [esp + 0x24], al
call fcn.00559480
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp edi, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x20], eax
je 0x4080b6
mov ecx, edi
call fcn.005581a0
mov eax, dword [esp + 0x20]
add edi, 4
cmp edi, eax
jne 0x4080a4
mov al, byte [esp + 0x24]
mov ecx, dword [esp + 0x4c]
cmp al, 7
mov dword [esp + 0x30], ecx
je 0x4080d2
cmp al, 8
je 0x4080d2
cmp al, 9
jne 0x40825a
cmp esi, 0x41066
ja 0x408142
je 0x40816a
cmp esi, 0x31364
ja 0x40811a
je 0x4080fe
cmp esi, 0x31066
je 0x40816a
cmp esi, 0x31362
jne 0x4081c5
push 5
push 0x609690
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jmp 0x4081dc
cmp esi, 0x41063
jne 0x4081c5
push 5
push 0x609688
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jmp 0x4081dc
cmp esi, 0x44062
ja 0x40819c
cmp esi, 0x44061
jae 0x408183
cmp esi, 0x41069
jb 0x4081c5
cmp esi, 0x4106a
jbe 0x40816a
cmp esi, 0x4106c
jne 0x4081c5
push 5
push 0x609680
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jmp 0x4081dc
push 5
push 0x609678
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jmp 0x4081dc
cmp esi, 0x44367
jb 0x4081c5
cmp esi, 0x4436a
ja 0x4081c5
push 5
push 0x609670
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jmp 0x4081dc
push 5
push 0x609680
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
lea edx, [esp + 0x1c]
push edx
call fcn.00558070
lea ecx, [esp + 0x40]
call fcn.00558c30
lea eax, [esp + 0x28]
push 1
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, 0x619c20
call fcn.00406ed0
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x40825a
mov edx, dword [esp + 0x30]
sub edx, ecx
sar edx, 2
cmp edx, 1
jb 0x40825a
call fcn.00558520
cmp ax, 3
jle 0x40825a
mov ecx, dword [esp + 0x2c]
push 2
mov edi, ecx
call fcn.00558380
mov dl, al
push 3
and edx, 0xff
mov ecx, edi
shl edx, 8
mov dword [esp + 0x50], edx
call fcn.00558380
mov ecx, dword [esp + 0x4c]
and eax, 0xff
add ecx, eax
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x3c]
call fcn.00559480
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp edi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], eax
je 0x408289
mov ecx, edi
call fcn.005581a0
mov eax, dword [esp + 0x4c]
add edi, 4
cmp edi, eax
jne 0x408277
mov edx, dword [esp + 0x20]
cmp esi, 0x4106a
mov dword [esp + 0x30], edx
ja 0x408488
cmp esi, 0x41069
jae 0x4083c9
cmp esi, 0x31364
ja 0x4083b8
je 0x40835f
cmp esi, 0x31066
je 0x408325
cmp esi, 0x31362
je 0x40835f
mov esi, dword [esp + 0x24]
and esi, 0xff
mov eax, dword [esp + esi*4 + 0x58]
cmp byte [eax + 1], 0x40
sete cl
movzx di, cl
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x18]
lea edx, [edi + 4]
push edx
push eax
call fcn.00558600
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x40]
call fcn.00558c30
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x40]
push ecx
push edx
jmp 0x40863f
mov esi, dword [esp + 0x24]
and esi, 0xff
mov eax, dword [esp + esi*4 + 0xa4]
cmp byte [eax + 1], 0x40
sete cl
movzx di, cl
mov byte [esp + 0x20], cl
lea ecx, [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jmp 0x408620
mov esi, dword [esp + 0x24]
and esi, 0xff
mov eax, dword [esp + esi*4 + 0x220]
cmp byte [eax + 1], 0x40
sete cl
movzx di, cl
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x18]
lea edx, [edi + 4]
push edx
push eax
call fcn.00558600
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x40]
call fcn.00558c30
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x40]
push ecx
push edx
jmp 0x40863f
sub esi, 0x41063
je 0x4083c9
sub esi, 3
jne 0x4082cf
mov esi, dword [esp + 0x24]
and esi, 0xff
mov eax, dword [esp + esi*4 + 0x58]
cmp byte [eax + 1], 0x40
sete cl
movzx di, cl
mov byte [esp + 0x20], cl
lea ecx, [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x40]
call fcn.00558c30
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, 0x619c20
call fcn.00406ed0
cmp byte [esp + 0x24], bl
jne 0x408649
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], eax
je 0x408462
mov ecx, dword [esp + 0x24]
call fcn.005581a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
jne 0x408446
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], eax
lea eax, [edi + 4]
push eax
push 0x6098a8
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jmp 0x408620
cmp esi, 0x44062
ja 0x40859a
je 0x408541
cmp esi, 0x4106c
je 0x408507
cmp esi, 0x44061
jne 0x4082cf
mov esi, dword [esp + 0x24]
and esi, 0xff
mov eax, dword [esp + esi*4 + 0x188]
cmp byte [eax + 1], 0x40
sete cl
movzx di, cl
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x18]
lea edx, [edi + 4]
push edx
push eax
call fcn.00558600
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x40]
call fcn.00558c30
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x40]
push ecx
push edx
jmp 0x40863f
mov esi, dword [esp + 0x24]
and esi, 0xff
mov eax, dword [esp + esi*4 + 0xf0]
cmp byte [eax + 1], 0x40
sete cl
movzx di, cl
mov byte [esp + 0x20], cl
lea ecx, [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jmp 0x408620
mov esi, dword [esp + 0x24]
and esi, 0xff
mov eax, dword [esp + esi*4 + 0x13c]
cmp byte [eax + 1], 0x40
sete cl
movzx di, cl
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x18]
lea edx, [edi + 4]
push edx
push eax
call fcn.00558600
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x40]
call fcn.00558c30
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x40]
push ecx
push edx
jmp 0x40863f
cmp esi, 0x44367
je 0x4085eb
jbe 0x4082cf
cmp esi, 0x4436a
ja 0x4082cf
mov esi, dword [esp + 0x24]
and esi, 0xff
mov eax, dword [esp + esi*4 + 0x1d4]
cmp byte [eax + 1], 0x40
sete cl
movzx di, cl
mov byte [esp + 0x20], cl
lea ecx, [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jmp 0x408620
mov esi, dword [esp + 0x24]
and esi, 0xff
mov eax, dword [esp + esi*4 + 0x26c]
cmp byte [eax + 1], 0x40
sete cl
movzx di, cl
mov byte [esp + 0x20], cl
lea ecx, [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
lea edx, [esp + 0x1c]
push edx
call fcn.00558070
lea ecx, [esp + 0x40]
call fcn.00558c30
lea eax, [esp + 0x28]
push 1
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, 0x619c20
call fcn.00406ed0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0xc], bl
cmp ecx, ebx
mov byte [esp + 0xd], bl
je 0x4086b9
mov edx, dword [esp + 0x30]
sub edx, ecx
sar edx, 2
cmp edx, 1
jb 0x4086b9
call fcn.00558520
mov ecx, dword [esp + 0x20]
movsx eax, ax
and ecx, 0xff
add ecx, 2
cmp eax, ecx
jle 0x4086b9
lea edx, [esp + 0xc]
mov byte [esp + 0x1f], bl
mov dword [esp + 0x20], edx
movzx ax, byte [esp + 0x1f]
lea ecx, [eax + edi + 1]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00558380
mov ecx, dword [esp + 0x20]
mov byte [ecx], al
mov al, byte [esp + 0x1f]
inc al
inc ecx
cmp al, 2
mov byte [esp + 0x1f], al
mov dword [esp + 0x20], ecx
jb 0x40868c
cmp esi, 0x11
ja case.default.0x4086c2
jmp dword [esi*4 + 0x408cf4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xd]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
add ecx, edx
je 0x4086ec
cmp ecx, 0xffff
jne 0x4086fe
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
jmp 0x408733
mov eax, dword [esp + 0x38]
xor edx, edx
div ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
fild qword [esp + 0xc]
fst qword [esp + 0xc]
fcomp qword [0x5e5280]
fnstsw ax
test ah, 1
jne 0x408733
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x40efffe0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push str._.2f
push edx
call fcn.005bcf3d
add esp, 0x10
jmp 0x408c54
mov eax, dword [esp + 0xc]
and eax, 0xff
lea ecx, [eax + eax*2]
shl ecx, 7
sub ecx, eax
mov eax, 0x10624dd3
add ecx, 0x2f4e
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fstp qword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push str._.2f
push eax
call fcn.005bcf3d
add esp, 0x10
jmp 0x408c54
mov ecx, dword [esp + 0xc]
and ecx, 0xff
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fmul qword [0x5e5278]
jmp 0x408bf3
mov eax, dword [esp + 0xc]
and eax, 0xff
sub eax, 0x28
jmp 0x408c1d
mov eax, dword [esp + 0xc]
and eax, 0xff
sub eax, 0x28
push eax
mov eax, dword [ebp + 0xc]
push 0x609488
push eax
call fcn.005bcf3d
add esp, 0xc
jmp 0x408c54
mov ecx, dword [esp + 0xc]
and ecx, 0xff
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fmul qword [0x5e5270]
fst qword [esp + 0xc]
fcomp qword [0x5e5268]
fnstsw ax
test ah, 0x41
jne 0x408bf7
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x408f3000
jmp 0x408bf7
mov edx, dword [esp + 0xc]
and edx, 0xff
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fmul qword [0x5e5260]
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push str._.2f
push edx
call fcn.005bcf3d
add esp, 0x10
jmp 0x408c54
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd]
and eax, 0xff
and ecx, 0xff
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x50]
cmp ecx, eax
lea edx, [eax + eax*2]
jae 0x4088bb
lea eax, [ecx + ecx*2]
mov dword [esp + 0x10], ebx
shl edx, 1
shl eax, 1
sub eax, edx
shr eax, 8
add eax, 0x168
mov dword [esp + 0xc], eax
fild qword [esp + 0xc]
jmp 0x408783
lea eax, [ecx + ecx*2]
mov dword [esp + 0x10], ebx
shl edx, 1
shl eax, 1
sub eax, edx
shr eax, 8
mov dword [esp + 0xc], eax
fild qword [esp + 0xc]
jmp 0x408783
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd]
mov edx, dword [esp + 0x50]
and eax, 0xff
shl eax, 8
and ecx, 0xff
add eax, ecx
lea ecx, [edx + 0x2800]
cmp ecx, eax
lea ecx, [ecx + ecx*2]
jae 0x408924
lea edx, [eax + eax*2]
mov dword [esp + 0x10], ebx
shl ecx, 1
shl edx, 1
sub ecx, edx
shr ecx, 8
add ecx, 0x168
mov dword [esp + 0xc], ecx
fild qword [esp + 0xc]
jmp 0x408852
lea edx, [eax + eax*2]
mov dword [esp + 0x10], ebx
shl ecx, 1
shl edx, 1
sub ecx, edx
shr ecx, 8
mov dword [esp + 0xc], ecx
fild qword [esp + 0xc]
jmp 0x408852
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd]
mov edx, dword [esp + 0x50]
and eax, 0xff
shl eax, 8
and ecx, 0xff
add eax, ecx
lea ecx, [edx + 0x5000]
cmp ecx, eax
lea ecx, [ecx + ecx*2]
jae 0x40898d
lea edx, [eax + eax*2]
mov dword [esp + 0x10], ebx
shl ecx, 1
shl edx, 1
sub ecx, edx
shr ecx, 8
add ecx, 0x168
mov dword [esp + 0xc], ecx
fild qword [esp + 0xc]
jmp 0x408852
lea edx, [eax + eax*2]
mov dword [esp + 0x10], ebx
shl ecx, 1
shl edx, 1
sub ecx, edx
shr ecx, 8
mov dword [esp + 0xc], ecx
fild qword [esp + 0xc]
jmp 0x408852
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd]
and eax, 0xff
and ecx, 0xff
shl eax, 8
add eax, ecx
xor edx, edx
mov dword [esp + 0x10], ebx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
div dword [esp + 0x38]
mov dword [esp + 0xc], eax
fild qword [esp + 0xc]
jmp 0x408bf3
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xd]
and eax, 0xff
and edx, 0xff
shl eax, 8
add eax, edx
xor edx, edx
mov dword [esp + 0x10], ebx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
div dword [esp + 0x38]
mov dword [esp + 0xc], eax
fild qword [esp + 0xc]
jmp 0x408852
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd]
and eax, 0xff
and ecx, 0xff
shl eax, 8
add eax, ecx
xor edx, edx
mov dword [esp + 0x10], ebx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
div dword [esp + 0x38]
mov dword [esp + 0xc], eax
fild qword [esp + 0xc]
jmp 0x408bf3
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xd]
and eax, 0xff
and edx, 0xff
shl eax, 8
add eax, edx
movsx eax, ax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 0x38]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fst qword [esp + 0xc]
fcomp qword [0x5e5258]
fnstsw ax
test ah, 1
je 0x408aaa
fld qword [esp + 0xc]
fchs
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push str._.2f
push edx
call fcn.005bcf3d
add esp, 0x10
jmp 0x408c54
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd]
and eax, 0xff
and ecx, 0xff
shl eax, 8
add eax, ecx
movsx eax, ax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 0x38]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fst qword [esp + 0xc]
fcomp qword [0x5e5258]
fnstsw ax
test ah, 1
je 0x408b19
fld qword [esp + 0xc]
fchs
fstp qword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
push edx
push eax
push str._.2f
push ecx
call fcn.005bcf3d
add esp, 0x10
jmp 0x408c54
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xd]
and eax, 0xff
and edx, 0xff
shl eax, 8
add eax, edx
movsx eax, ax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 0x38]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fst qword [esp + 0xc]
fcomp qword [0x5e5258]
fnstsw ax
test ah, 1
je 0x408b88
fld qword [esp + 0xc]
fchs
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push str._.2f
push edx
call fcn.005bcf3d
add esp, 0x10
jmp 0x408c54
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd]
and eax, 0xff
and ecx, 0xff
shl eax, 8
add eax, ecx
movsx eax, ax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 0x38]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fst qword [esp + 0xc]
fcomp qword [0x5e5258]
fnstsw ax
test ah, 1
je 0x408bf7
fld qword [esp + 0xc]
fchs
fstp qword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
push edx
push eax
push str._.2f
push ecx
call fcn.005bcf3d
add esp, 0x10
jmp 0x408c54
mov eax, dword [esp + 0xc]
and eax, 0xff
mov edx, dword [ebp + 0xc]
push eax
push 0x609488
push edx
call fcn.005bcf3d
add esp, 0xc
jmp 0x408c54
mov edi, str.
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c0], 3
call fcn.005581a0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c0], 2
call fcn.005581a0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, eax
mov byte [esp + 0x2c0], 1
mov edi, eax
je 0x408c9e
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x408c8c
mov esi, dword [esp + 0x2c]
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x2c0], bl
call fcn.00558a00
lea ecx, [ebp + 8]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.005581a0
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8