Function at 0x408b90
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov esi, dword [ebp + 0xc]
mov dword [esp], esi
lea esi, [0x432a29]
mov dword [esp + 4], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov dword [esp + 0xb4], eax
cmp dword [esp + 0xb4], 0
jne 0x408c03
mov dword [esp + 0xbc], 0
jmp 0x40946d
xor eax, eax
mov dword [esp + 0xb0], 0
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 0x28], eax
call fcn.004035b0
mov dword [esp + 0xb0], eax
cmp dword [esp + 0xb0], 0
jne 0x408c5f
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov dword [esp + 0xbc], 0
jmp 0x40946d
xor eax, eax
lea ecx, [esp + 0x98]
mov edx, ecx
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00403b90
cmp eax, 0
jge 0x408ccc
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xbc], ecx
jmp 0x40946d
jmp 0x408cd1
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], eax
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x10], eax
call fcn.00403e10
cmp eax, 0
je 0x408d46
jmp 0x409237
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x90]
and eax, 3
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x90]
and eax, 0xfffffffc
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x94]
mov eax, dword [eax + ecx*4 + 8]
mov dword [esp + 0x74], eax
cmp dword [esp + 0x74], 0
jne 0x408e23
mov eax, esp
mov dword [eax], 0x27118
call fcn.0040b040
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 8], 0x27118
mov dword [ecx + 4], 0
mov dword [esp + 0x1c], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x74]
mov dword [edx], 0
movsd xmm0, qword [esp + 0x88]
mov edx, dword [esp + 0x74]
movsd qword [edx + 0x27108], xmm0
movsd xmm0, qword [esp + 0x88]
mov edx, dword [esp + 0x74]
movsd qword [edx + 0x27110], xmm0
mov edx, dword [esp + 0x74]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x94]
mov dword [esi + edi*4 + 8], edx
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.00403cf0
mov dword [esp + 0x70], eax
cmp dword [esp + 0x70], 0
jne 0x408e69
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x1c]
add eax, 0x68
mov dword [esp + 0x70], eax
cmp dword [esp + 0x84], 0
jne 0x408fd1
mov eax, dword [esp + 0x74]
cmp dword [eax], 0x2710
jl 0x408ebe
mov dword [esp], 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [esp], eax
lea eax, str.Stack_overflow__exceeded__d_frames__n
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2710
call fcn.0040aea0
mov dword [esp], 1
mov dword [esp + 0x18], eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [esp + 0x74]
cmp dword [eax], 1
jl 0x408eee
mov eax, dword [esp + 0x74]
add eax, 8
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
sub ecx, 1
shl ecx, 4
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0xb8], eax
jmp 0x408eff
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [esp + 0xb8]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.004051a0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x74]
mov esi, dword [edx + 0x27108]
mov edx, dword [edx + 0x2710c]
sub eax, esi
sbb ecx, edx
mov edx, dword [esp + 0xb8]
mov esi, dword [edx + 0x20]
mov edi, dword [edx + 0x24]
add esi, eax
adc edi, ecx
mov dword [edx + 0x20], esi
mov dword [edx + 0x24], edi
mov eax, dword [esp + 0xb8]
cmp dword [eax + 0x5c], 1
jg 0x408f9e
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x74]
mov esi, dword [edx + 0x27108]
mov edx, dword [edx + 0x2710c]
sub eax, esi
sbb ecx, edx
mov edx, dword [esp + 0xb8]
mov esi, dword [edx + 0x30]
mov edi, dword [edx + 0x34]
add esi, eax
adc edi, ecx
mov dword [edx + 0x30], esi
mov dword [edx + 0x34], edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
shl edx, 4
mov dword [ecx + edx + 8], eax
movsd xmm0, qword [esp + 0x88]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, ecx
inc edx
mov dword [eax], edx
shl ecx, 4
movsd qword [eax + ecx + 0x10], xmm0
jmp 0x40921d
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x74]
cmp dword [eax], 0
jle 0x4090d1
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
shl ecx, 4
movsd xmm0, qword [eax + ecx + 0x10]
movsd qword [esp + 0x68], xmm0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add ecx, 8
mov edx, dword [esp + 0x74]
mov edx, dword [edx]
shl edx, 4
add ecx, edx
cmp eax, dword [ecx]
je 0x4090cc
mov eax, dword [esp + 0x70]
cmp dword [eax + 0xc], 0
je 0x40907d
mov dword [esp], 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x70]
mov edx, dword [edx + 0xc]
mov esi, dword [esp + 0x70]
mov esi, dword [esi + 0x10]
mov dword [esp], eax
lea eax, str.Exit_from_method__s._s__s_does_not_match_stack:_n
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.0040aea0
jmp 0x4090a7
mov dword [esp], 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 8]
mov dword [esp], eax
lea eax, str.Exit_from_method__s_does_not_match_stack:_n
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040aea0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
add ecx, 1
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00405210
mov dword [esp], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
jmp 0x4090d1
mov eax, dword [esp + 0x74]
cmp dword [eax], 1
jl 0x409101
mov eax, dword [esp + 0x74]
add eax, 8
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
sub ecx, 1
shl ecx, 4
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0xb8], eax
jmp 0x409112
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [esp + 0xb8]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.004051a0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [esp + 0x70]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.004051a0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
sub eax, edx
sbb ecx, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov edi, esp
mov dword [edi + 0xc], esi
mov dword [edi + 8], edx
mov dword [edi + 4], ecx
mov dword [edi], eax
call fcn.00404610
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x74]
mov esi, dword [edx + 0x27108]
mov edx, dword [edx + 0x2710c]
sub eax, esi
sbb ecx, edx
mov edx, dword [esp + 0x70]
mov esi, dword [edx + 0x20]
mov edi, dword [edx + 0x24]
add esi, eax
adc edi, ecx
mov dword [edx + 0x20], esi
mov dword [edx + 0x24], edi
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x5c], 0
jne 0x409218
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x74]
mov esi, dword [edx + 0x27108]
mov edx, dword [edx + 0x2710c]
sub eax, esi
sbb ecx, edx
mov edx, dword [esp + 0x70]
mov esi, dword [edx + 0x30]
mov edi, dword [edx + 0x34]
add esi, eax
adc edi, ecx
mov dword [edx + 0x30], esi
mov dword [edx + 0x34], edi
jmp 0x40921d
movsd xmm0, qword [esp + 0x88]
mov eax, dword [esp + 0x74]
movsd qword [eax + 0x27108], xmm0
jmp 0x408cd1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x54], 0
cmp dword [esp + 0x54], 0x8000
jge 0x409416
mov dword [esp + 0x50], 0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + ecx*4 + 8]
mov dword [esp + 0x50], eax
cmp dword [esp + 0x50], 0
jne 0x40928c
jmp 0x409406
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x27108]
mov edx, dword [eax + 0x2710c]
mov esi, dword [eax + 0x27114]
mov eax, dword [eax + 0x27110]
sub ecx, eax
sbb edx, esi
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
add eax, ecx
adc esi, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp eax, dword [ecx]
jge 0x409401
cmp dword [esp + 0x4c], 0
jne 0x409301
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb8], eax
jmp 0x40931d
mov eax, dword [esp + 0x50]
add eax, 8
mov ecx, dword [esp + 0x4c]
sub ecx, 1
shl ecx, 4
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
shl ecx, 4
mov eax, dword [eax + ecx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xb8]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.004051a0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.004051a0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
shl ecx, 4
movsd xmm0, qword [eax + ecx + 0x10]
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x27108]
mov eax, dword [eax + 0x2710c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
sub ecx, edx
sbb eax, esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, esp
mov dword [edi + 0xc], esi
mov dword [edi + 8], edx
mov dword [edi + 4], ecx
mov dword [edi], eax
call fcn.00404610
mov eax, dword [esp + 0x4c]
add eax, 1
mov dword [esp + 0x4c], eax
jmp 0x4092d0
jmp 0x409406
mov eax, dword [esp + 0x54]
add eax, 1
mov dword [esp + 0x54], eax
jmp 0x409257
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb8], eax
movsd xmm0, qword [esp + 0x58]
mov eax, dword [esp + 0xb8]
movsd qword [eax + 0x28], xmm0
cmp dword [ebp + 0x10], 0
je 0x409450
movsd xmm0, qword [esp + 0x58]
mov eax, dword [ebp + 0x10]
movsd qword [eax], xmm0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0xbc]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret