Function at 0x4055b0
Capabilities:
Read file on windows
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10744
call fcn.004312f0
mov eax, dword [0x4c3174]
push ebx
push esi
inc eax
mov esi, ecx
push edi
mov dword [esp + 0x30], esi
mov dword [0x4c3174], eax
cmp eax, 0x30
jge 0x473e3b
lea ecx, [esp + 0x58]
mov dword [esp + 0x34], 0
mov byte [esp + 0xe], 1
mov byte [esp + 0x2f], 1
mov byte [esp + 0x27], 0
call fcn.0040667c
mov ebx, dword [ebp + 8]
push 0x2000
push ebx
lea ecx, [esp + 0x60]
call fcn.00405178
test al, al
je 0x473e55
lea ecx, [esp + 0x108]
call fcn.0040c499
lea ecx, [esp + 0x108]
call fcn.00404c3e
lea ecx, [esp + 0xdc]
call fcn.0040c499
lea edx, [esp + 0xdc]
mov ecx, ebx
call fcn.00406a84
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0xc4], 0x18
call fcn.00404cb9
push 0
push esi
push edi
lea ecx, [esp + 0x64]
call fcn.0040653a
cmp dword [esp + 0x148], 0x21335541
je 0x473e71
lea eax, [esp + 0x550]
push eax
lea eax, [esp + 0x354]
push eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0xd0]
push eax
push dword [esp + 0xec]
call fcn.00423849
add esp, 0x14
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x754]
push eax
call fcn.00422763
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x75c]
push eax
call fcn.00422734
add esp, 0x10
lea eax, [esp + 0x750]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x2000
call fcn.00420f2a
add esp, 4
lea ecx, [esp + 0x98]
push eax
call fcn.00404c71
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x98]
cmp byte [esp + 0x2f], 1
mov esi, 2
jne 0x405bf5
mov ecx, dword [esp + 0x7c]
xor eax, eax
mov word [edi], ax
mov eax, dword [ecx]
cmp eax, 1
jg 0x47426c
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x74], 0
test al, 3
jne 0x4744d3
test al, 4
jne 0x4742a6
mov eax, 0x10
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
call fcn.00420f2a
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
push 4
mov dword [esp + 0x4c], esi
mov byte [esi], 0
call fcn.00420f2a
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x405d37
mov dword [ecx], 1
mov eax, dword [ecx]
mov dword [esp + 0x54], ecx
cmp eax, 1
jg 0x4742bd
xor edi, edi
xor al, al
mov byte [esi], 0
mov byte [esp + 0xf], al
cmp dword [esp + 0x60], 0
mov dword [esp + 0x4c], edi
je 0x4742f6
xor esi, esi
lea ebx, [ebx]
cmp ebx, dword [esp + 0x60]
je 0x405cca
mov eax, dword [esp + 0x5c]
inc esi
mov al, byte [eax + ebx]
mov byte [esp + esi + 0x16], al
inc ebx
mov dword [esp + 0x64], ebx
cmp esi, 1
jb 0x4057e0
add dword [esp + 0x68], esi
adc dword [esp + 0x6c], 0
test esi, esi
je 0x40592a
mov al, byte [esp + 0x17]
mov byte [esp + 0xf], 1
cmp al, 0xd
je 0x4058c5
cmp al, 0xa
je 0x40590a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp eax, 1
jg 0x474318
lea eax, [edi + 2]
cmp dword [esp + 0x18], eax
jb 0x405857
mov esi, dword [esp + 0x28]
mov al, byte [esp + 0x17]
mov byte [esi + edi], al
inc edi
mov byte [esi + edi], 0
jmp 0x4057c9
cmp eax, 0x41c2
jae 0x47436a
mov esi, dword [esp + 0x28]
add eax, eax
test eax, eax
je 0x405d42
add eax, 0xf
and eax, 0xfffffff0
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
call fcn.00420f2a
add esp, 4
mov dword [esp + 0x28], eax
test esi, esi
je 0x4058aa
lea ecx, [edi + 1]
push ecx
push esi
push eax
call fcn.004208c0
add esp, 0xc
push esi
call fcn.00420f9e
mov eax, dword [esp + 0x2c]
add esp, 4
mov esi, eax
mov al, byte [esp + 0x17]
mov byte [esi + edi], al
inc edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x48], esi
mov byte [esi + edi], 0
jmp 0x4057c9
cmp dword [esp + 0x60], 0
je 0x47445e
xor esi, esi
cmp ebx, dword [esp + 0x60]
je 0x474480
mov eax, dword [esp + 0x5c]
inc esi
mov al, byte [eax + ebx]
mov byte [esp + esi + 0x16], al
inc ebx
mov dword [esp + 0x64], ebx
cmp esi, 1
jb 0x4058d2
add dword [esp + 0x68], esi
adc dword [esp + 0x6c], 0
test esi, esi
je 0x40590a
cmp byte [esp + 0x17], 0xa
jne 0x4744bf
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00405d60
lea ecx, [esp + 0x48]
call fcn.004061e5
mov ebx, dword [esp + 0x64]
mov al, 1
jmp 0x405952
mov al, byte [esp + 0xf]
test al, al
jne 0x40590a
mov edi, dword [esp + 0x10]
dec dword [edi]
jne 0x405950
mov esi, dword [esp + 0x28]
push esi
call fcn.00420f9e
add esp, 4
push edi
call fcn.00420f9e
add esp, 4
xor al, al
mov edi, dword [esp + 0x98]
test al, al
je 0x405bf5
mov esi, dword [esp + 0x74]
cmp esi, 0xffe
ja 0x4744ea
push dword [esp + 0x70]
push edi
call fcn.00422763
inc dword [esp + 0x3c]
add esp, 8
xor esi, esi
xor edi, edi
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x98]
movzx eax, word [edi + esi*2]
push eax
mov dword [esp + 0x1c], eax
call fcn.004230ed
add esp, 4
test eax, eax
je 0x4059b9
push dword [esp + 0x18]
call fcn.00423110
add esp, 4
test eax, eax
je 0x4059b9
inc esi
jmp 0x405991
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x28]
movzx eax, word [ecx + esi*2]
test ax, ax
je 0x4059e1
lea ecx, [ecx]
lea esi, [esi + 1]
mov word [ecx + edi*2], ax
movzx eax, word [ecx + esi*2]
inc edi
test ax, ax
jne 0x4059d0
xor eax, eax
push ecx
mov word [ecx + edi*2], ax
call fcn.00405e70
test al, al
je 0x47455a
mov edi, dword [esp + 0x98]
push edi
call fcn.0042271b
add esp, 4
test eax, eax
je 0x405a40
lea esi, [eax - 1]
test esi, esi
js 0x405a39
movzx eax, word [edi + esi*2]
push eax
mov dword [esp + 0x1c], eax
call fcn.004230ed
add esp, 4
test eax, eax
je 0x405a39
push dword [esp + 0x18]
call fcn.00423110
add esp, 4
test eax, eax
jne 0x405c91
xor eax, eax
mov word [edi + esi*2 + 2], ax
push edi
mov byte [esp + 0x13], 0
call fcn.0042271b
mov esi, eax
add esp, 4
cmp esi, 2
jle 0x405a72
mov cx, word [edi + esi*2 - 4]
and cx, 0x7f
movzx ecx, cx
push ecx
call fcn.00423110
add esp, 4
test eax, eax
jne 0x405c74
cmp byte [esp + 0x27], 1
je 0x405d1e
mov ebx, dword [esp + 0xdc]
push ebx
call fcn.0042271b
lea esi, [eax + 1]
add esp, 4
mov dword [esp + 0xac], eax
test esi, esi
je 0x405d4c
lea eax, [esi + 7]
and eax, 0xfffffff8
xor ecx, ecx
mov dword [esp + 0xb0], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004208b5
add esp, 4
lea ecx, [esi + esi]
push ecx
push ebx
push eax
mov dword [esp + 0xb4], eax
call fcn.004208c0
add esp, 0xc
push 4
call fcn.00420f2a
add esp, 4
test eax, eax
je 0x47453b
mov dword [eax], 1
mov dword [esp + 0xb4], eax
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xb0]
push eax
push edi
mov ecx, ebx
call fcn.00405f4b
mov ecx, dword [esp + 0xb4]
mov esi, eax
dec dword [ecx]
mov ecx, dword [esp + 0xb4]
cmp dword [ecx], 0
jne 0x405b4c
push dword [esp + 0xa8]
call fcn.00420f9e
add esp, 4
push dword [esp + 0xb4]
call fcn.00420f9e
add esp, 4
cmp esi, 3
jne 0x405c9d
cmp dword [ebx + 8], 0
je 0x405d09
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
cmp word [eax], 0
je 0x405c63
push 0x10
call fcn.00420f2a
mov ecx, dword [ebx + 0xc]
add esp, 4
mov dword [ecx + 0xc], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
push edi
mov dword [eax + 0xc], 0
call fcn.0042271b
xor ecx, ecx
inc eax
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420f2a
add esp, 4
mov esi, eax
push edi
push esi
call fcn.00422763
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x3c]
mov dword [ecx], esi
mov ecx, dword [ebx + 0xc]
add esp, 8
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
inc dword [ebx + 0x10]
mov ebx, dword [esp + 0x64]
mov al, byte [esp + 0xe]
cmp byte [esp + 0xf], 1
je 0x405d2d
mov byte [esp + 0x27], 0
cmp al, 1
je 0x405722
mov bl, byte [esp + 0xe]
lea ecx, [esp + 0x58]
call fcn.004066e8
push dword [esp + 0x108]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x98]
call fcn.00404c9c
lea ecx, [esp + 0xdc]
call fcn.004061e5
lea ecx, [esp + 0x108]
call fcn.004061e5
lea ecx, [esp + 0x58]
call fcn.004066be
mov al, bl
dec dword [0x4c3174]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push eax
call fcn.00420f9e
add esp, 4
dec dword [ebx + 0x10]
jmp 0x405b81
cmp word [edi + esi*2 - 2], 0x5f
jne 0x405a72
xor eax, eax
mov word [edi + esi*2 - 2], ax
mov byte [esp + 0xf], 1
jmp 0x405a72
dec esi
jns 0x405a10
jmp 0x405a39
sub esi, 0
je 0x47454b
sub esi, 2
je 0x405b55
mov ebx, dword [esp + 0x64]
mov al, byte [esp + 0xe]
sub esi, 2
jne 0x405bdd
mov byte [esp + 0x2f], 0
jmp 0x405bdd
push 0
lea eax, [esp + 0xc4]
push eax
push 0x10000
push dword [esp + 0x68]
push dword [esp + 0x68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405800
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x405800
mov dword [esp + 0x60], eax
xor ebx, ebx
jmp 0x4057ea
push 0x10
call fcn.00420f2a
add esp, 4
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
jmp 0x405b81
mov ecx, dword [esp + 0x30]
push edi
call fcn.004205f6
jmp 0x405bd9
mov byte [esp + 0x27], 1
jmp 0x405bed
xor ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x4057af
mov eax, 0x10
jmp 0x405876
mov eax, 8
jmp 0x405aa5
push dword [ebp + 0x14]
push str.include_depth_exceeded.__Make_sure_there_are_no_recursive_includes
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.00444065
xor al, al
jmp 0x405c54
push dword [ebp + 0x14]
mov ecx, esi
push str.Error_opening_the_file
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.00444065
xor bl, bl
jmp 0x405c49
cmp dword [esp + 0x14c], 0x36304145
jne 0x405693
lea ecx, [esp + 0x58]
call fcn.004066e8
push 2
push dword [ebx]
lea ecx, [esp + 0xf4]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov byte [esp + 0x108], 0
call fcn.00404d0a
test eax, eax
jne 0x473f01
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x3c]
push eax
push str.___AUTOIT_SCRIPT___
lea ecx, [esp + 0xf8]
call fcn.0044dc6d
lea ecx, [esp + 0xec]
test eax, eax
je 0x473f1f
call fcn.00404dee
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x34]
push str.Error_opening_the_file
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.00444065
xor bl, bl
jmp 0x405c31
call fcn.00404dee
mov eax, dword [esp + 0x38]
push 0x10
mov eax, dword [eax]
mov dword [esp + 0x38], eax
or eax, 0xffffffff
mov esi, 4
mov word [esp + 0x48], ax
mov dword [esp + 0xd0], 0x49edb0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
call fcn.00420f2a
mov edi, eax
add esp, 4
test edi, edi
je 0x473f94
mov dword [edi], 0x49edb0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
jmp 0x473f96
xor edi, edi
or eax, 0xffffffff
push 5
lea ecx, [esp + 0x40]
mov dword [esp + 0xa8], edi
mov word [esp + 0x4a], ax
call fcn.0040a9af
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.0040a880
cmp dword [esp + 0x34], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 1
jl 0x4741dc
mov eax, dword [esp + 0x38]
add eax, esi
inc esi
movzx eax, byte [eax]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0xa4], esi
mov dword [esp + 0x14], eax
call fcn.0040a9af
lea ecx, [esp + 0x3c]
call fcn.0044b5c1
test al, al
je 0x47401f
mov eax, dword [esp + 0x38]
add eax, esi
add esi, 4
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
jmp 0x47416a
lea ecx, [esp + 0x3c]
call fcn.0044b5ab
test al, al
je 0x474047
mov ecx, dword [esp + 0x38]
add ecx, esi
add esi, 8
mov eax, dword [ecx]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x40], eax
jmp 0x47416a
lea ecx, [esp + 0x3c]
call fcn.0044b595
test al, al
je 0x474068
mov eax, dword [esp + 0x38]
add eax, esi
add esi, 8
fld qword [eax]
fstp qword [esp + 0x3c]
jmp 0x47416a
lea ecx, [esp + 0x3c]
call fcn.0040b30c
test al, al
je 0x47416a
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x3c]
call fcn.00444001
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], esi
push esi
cmp eax, 0x31
jne 0x4740e2
lea ecx, [esp + 0x11c]
call fcn.0040b800
mov eax, dword [esp + 0x30]
push dword [esp + 0x118]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x118]
mov esi, eax
call fcn.004061e5
push 1
lea ecx, [esp + 0x40]
call fcn.0040a9af
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x94]
jmp 0x47415a
cmp eax, 0x30
jne 0x474126
lea ecx, [esp + 0x12c]
call fcn.0040b800
lea eax, [esp + 0x128]
push eax
call fcn.00444439
lea ecx, [esp + 0x128]
mov esi, eax
call fcn.004061e5
push 0
lea ecx, [esp + 0x40]
call fcn.0040a9af
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x94]
jmp 0x47415a
cmp eax, 0x37
jne 0x474151
mov ecx, dword [esp + 0x34]
call fcn.00443f22
test eax, eax
je 0x47423a
push esi
call fcn.00420f9e
mov esi, dword [esp + 0xa4]
add esp, 4
jmp 0x473fdf
lea ecx, [esp + 0x40]
call fcn.0044b528
push esi
call fcn.00420f9e
mov esi, dword [esp + 0xa4]
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.0040a880
cmp dword [esp + 0x10], 0x7f
jne 0x473fdf
mov ecx, dword [edi + 8]
cmp ecx, 2
jbe 0x4741c2
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4 - 8]
cmp word [eax + 8], 0x7f
je 0x4741c2
inc dword [esp + 0x28]
mov eax, 0x3b
mov word [esp + 0x94], ax
push 0xffffffffffffffff
lea eax, [esp + 0x98]
push eax
mov eax, dword [esp + 0x38]
mov ecx, eax
push dword [eax + 0x10]
call fcn.00443eb0
jmp 0x4741c9
mov ecx, edi
call fcn.00444414
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x34]
jle 0x473fdf
push 5
lea ecx, [esp + 0x40]
call fcn.0040a9af
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx]
lea eax, [esp + 0x3c]
push eax
call fcn.0044b488
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xa4]
push eax
lea ecx, [ecx + 0x50]
call fcn.00463962
push dword [esp + 0x38]
call fcn.004236ea
add esp, 4
mov bl, 1
lea ecx, [esp + 0xcc]
call fcn.004030c0
lea ecx, [esp + 0x3c]
call fcn.0044b472
jmp 0x405c31
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push 0x49ec00
push str.Bad_directive_syntax_error
push eax
push ebx
call fcn.00444065
push esi
call fcn.00420f9e
add esp, 4
push dword [esp + 0x38]
call fcn.004236ea
add esp, 4
xor bl, bl
jmp 0x474220
dec eax
mov dword [ecx], eax
lea ecx, [esp + 0x70]
call fcn.00405589
xor ecx, ecx
mov eax, 8
mul esi
seto cl
mov dword [esp + 0x78], 8
neg ecx
or ecx, eax
push ecx
call fcn.004208b5
mov ebx, dword [esp + 0x68]
add esp, 4
mov dword [esp + 0x70], eax
jmp 0x405746
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x5c]
call fcn.0044757b
mov ebx, dword [esp + 0x64]
jmp 0x405959
dec eax
mov dword [ecx], eax
lea ecx, [esp + 0x48]
call fcn.00405589
mov eax, 0x10
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
call fcn.00420f2a
mov ecx, dword [esp + 0x58]
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x10], ecx
jmp 0x4057be
lea ecx, [esp + 0x58]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.00406412
mov ebx, dword [esp + 0x64]
jmp 0x4057d8
dec eax
mov dword [ecx], eax
lea ecx, [esp + 0x48]
call fcn.00405589
mov edi, dword [esp + 0x4c]
lea eax, [edi + 2]
push eax
call fcn.00406399
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
call fcn.00420f2a
add esp, 4
lea ecx, [edi + 1]
push ecx
push dword [esp + 0x4c]
mov esi, eax
push esi
mov dword [esp + 0x34], esi
call fcn.004208c0
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov dword [esp + 0x48], esi
mov dword [esp + 0x10], ecx
jmp 0x405846
cmp eax, 0x2000000
jae 0x4743b8
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x474383
fadd qword [0x4b7a00]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [0x4b3710]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
fldcw word [esp + 0x10]
jmp 0x474445
cmp eax, 0x8000000
jae 0x474403
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x4743d1
fadd qword [0x4b7a00]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [0x4b3708]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
fldcw word [esp + 0x10]
jmp 0x474445
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x474415
fadd qword [0x4b7a00]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [0x4b3700]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
fldcw word [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
jmp 0x405868
lea ecx, [esp + 0x58]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.00406412
mov ebx, dword [esp + 0x64]
jmp 0x4058d0
push 0
lea eax, [esp + 0xbc]
push eax
push 0x10000
push dword [esp + 0x68]
push dword [esp + 0x68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4058f2
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4058f2
mov dword [esp + 0x60], eax
xor ebx, ebx
jmp 0x4058dc
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x64]
call fcn.0040653a
jmp 0x40590a
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x5c]
call fcn.0044747d
mov ebx, dword [esp + 0x64]
jmp 0x405959
lea ecx, [esp + 0x70]
add esi, 0xfffff002
call fcn.0040acce
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
sub edi, esi
lea eax, [edi*2 - 0x1ffa]
push eax
lea eax, [ecx + 0x1ffc]
lea eax, [eax + esi*2]
push eax
lea eax, [ecx + 0x1ffc]
push eax
call fcn.004208c0
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0xa4]
add esp, 0xc
jmp 0x405971
mov dword [esp + 0xb4], 0
jmp 0x405af9
mov ebx, dword [esp + 0x64]
xor al, al
mov byte [esp + 0xe], al
jmp 0x405bdd
push dword [esp + 0x98]
mov ecx, dword [esp + 0x34]
push str.Unterminated_string
push dword [esp + 0x3c]
push dword [ebp + 0x10]
call fcn.00444065
xor bl, bl
jmp 0x405bf9