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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x2778
call fcn.004e36a0
xor ecx, ecx
mov dword [esp], edx
push esi
mov esi, dword [ebp + 0xc]
or eax, 0xffffffff
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ecx
push edi
test edx, edx
je 0x404638
test esi, esi
je 0x404638
mov edi, dword [ebp + 8]
test edi, edi
je 0x404638
cmp dword [edi], ecx
je 0x4038b1
mov eax, edi
nop word [eax + eax]
inc ecx
mov dword [eax + 0x2c], 0
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, edi
cmp dword [eax], 0
jne 0x403890
jmp 0x4038b1
add esp, 4
mov edx, dword [esp + 8]
mov edi, dword [ebp + 8]
push 0
push 0
push 0x64
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.004013e0
inc dword [ebp + 0x14]
add esp, 0x14
cmp byte [esp + 0x70], 0
movzx eax, al
mov dword [esp + 0x1c], eax
je 0x404382
mov eax, dword [esp + 0x14]
mov esi, eax
lea eax, [eax + eax*2]
add eax, eax
mov eax, dword [edi + eax*8]
test eax, eax
je 0x403910
nop
push eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x403910
inc esi
lea eax, [esi + esi*2]
add eax, eax
mov eax, dword [edi + eax*8]
test eax, eax
jne 0x4038f0
lea eax, [esi + esi*2]
shl eax, 4
add edi, eax
mov dword [esp + 0x10], edi
cmp dword [edi], 0
je 0x4041bd
cmp dword [edi + 0x18], 0
mov ecx, 0xffffffff
mov eax, dword [esp + 0x2c]
cmove eax, ecx
test dword [edi + 4], 0x20000
mov dword [esp + 0x2c], eax
je 0x403979
cmp dword [edi + 0xc], 0
je 0x403979
movups xmm0, xmmword [edi]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x3c]
movups xmmword [esp + 0x48], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esp + 0x68], xmm0
mov eax, dword [edi + 0xc]
call eax
add esp, 8
mov dword [esp + 0x10], eax
mov edi, eax
mov edx, dword [esp + 8]
test edi, edi
je 0x4038ae
mov ecx, dword [edi + 4]
mov dword [edi + 0x2c], 1
test ecx, 0x81000
je 0x4039e1
push 1
call fcn.00401610
mov edx, dword [esp + 0xc]
add esp, 4
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4038b1
lea eax, [esp + 0xc]
push eax
call fcn.0047e900
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [esp + 0xc]
call esi
mov edx, dword [esp + 0xc]
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x4038b1
movzx eax, cl
dec eax
cmp eax, 0xc
ja case.0x4039ee.12
jmp dword [eax*4 + 0x404640]
cmp dword [edi + 0x18], 0
je 0x403b2c
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x2c], esi
je 0x403a42
mov dword [esp + 0x2c], esi
test ecx, 0x200
je 0x403a3e
mov eax, dword [ebp + 0xc]
cmp dword [edx + eax], 0
je 0x403a3e
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x403a3e
test ecx, 0x2000
je 0x403a3e
mov eax, dword [esi + eax]
jmp 0x403a46
xor eax, eax
jmp 0x403a46
mov eax, dword [esp + 0x30]
mov esi, eax
inc eax
mov dword [esp + 0x30], eax
test ecx, 0x20200
je 0x403ac5
cmp dword [esp + 0x10], 0xffffffff
jne 0x403a78
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [ebp + 0xc]
add esp, 4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + esi], eax
jmp 0x403ade
lea esi, [eax*4]
mov eax, dword [ebp + 0xc]
push esi
push dword [edx + eax]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
mov dword [edx + ecx], eax
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [eax + edx]
mov dword [eax + esi - 4], ecx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edx]
mov eax, dword [eax + esi - 4]
mov esi, edx
mov dword [esp + 0x1c], eax
jmp 0x403ade
mov eax, dword [edi + 8]
imul eax, esi
mov esi, dword [ebp + 0xc]
add eax, edx
add eax, esi
mov dword [esp + 0x1c], eax
test ecx, 0x2000
jne 0x403af0
push dword [edi + 8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [ebp + 0x14]
xor ecx, ecx
push edx
mov edx, dword [esp + 0xc]
push 1
push eax
push dword [edi + 0x18]
call fcn.00403820
mov edx, dword [esp + 0x18]
add esp, 0x10
cmp dword [edi + 0x14], 0xffffffff
mov edi, dword [ebp + 8]
mov dword [ebp + 0x14], eax
je 0x4038b1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [eax + esi], ecx
jmp 0x4038b1
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x3c]
je 0x403b54
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
add ecx, dword [esp + 0x38]
add eax, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], esi
jmp 0x403b5c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x34], ecx
lea esi, [ecx*4]
push esi
push dword [eax]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [edx]
mov dword [ecx + esi - 4], eax
mov eax, dword [edx]
push dword [edi + 8]
push 0
mov esi, dword [eax + esi - 4]
push esi
mov dword [ebp + 0xc], esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 8]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4038b1
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x4038b1
xor esi, esi
mov ecx, dword [edi + 8]
mov edx, 1
cmp ecx, 1
mov eax, ecx
cmovl eax, edx
cmp esi, eax
jge 0x4038aa
xor edx, edx
mov eax, 4
test ecx, ecx
push 0
cmovne eax, edx
mov edx, dword [esp + 0xc]
push eax
push 0x1e
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.004013e0
add esp, 0x14
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov eax, dword [edi + 0xc]
add esp, 4
mov ecx, dword [ebp + 0xc]
lea eax, [eax + esi*8]
inc esi
fstp qword [eax + ecx]
jmp 0x403bc4
push 0
push 4
push 0x1e
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.004013e0
add esp, 0x14
lea eax, [esp + 0x70]
push eax
call fcn.0047b9b0
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 0xc]
fstp qword [ecx + eax]
jmp 0x4038a7
push 0
push 4
push 0x1e
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.004013e0
add esp, 0x14
lea eax, [esp + 0x70]
push 8
push eax
call fcn.0047fcc0
mov esi, eax
lea eax, [esp + 0x80]
push 6
push eax
call fcn.0047fcc0
push eax
push esi
call fcn.0047b8d0
mov ecx, dword [edi + 0xc]
add esp, 0x18
mov esi, dword [ebp + 0xc]
mov dword [esi + ecx], eax
mov dword [esi + ecx + 4], edx
jmp 0x4038aa
xor esi, esi
mov ecx, dword [edi + 8]
mov edx, 1
cmp ecx, 1
mov eax, ecx
cmovl eax, edx
cmp esi, eax
jge 0x4038aa
xor edx, edx
mov eax, 4
test ecx, ecx
push 0
cmovne eax, edx
mov edx, dword [esp + 0xc]
push eax
push 0x14
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.004013e0
mov eax, dword [ebp + 0xc]
add esp, 0x14
lea ecx, [eax + esi*4]
mov eax, dword [edi + 0xc]
cmp dword [ecx + eax], 0
je 0x403cf6
test dword [edi + 4], 0x2000
jne 0x403d4b
push 2
lea eax, [esp + 0x74]
push 0x4ef4a4
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__memicmp]
add esp, 0xc
test eax, eax
jne 0x403d31
mov eax, dword [ebp + 0xc]
lea eax, [eax + esi*4]
add eax, dword [edi + 0xc]
push eax
lea eax, [esp + 0x76]
push 0x4ef4a8
push eax
call fcn.004010d0
add esp, 0xc
inc esi
jmp 0x403ca0
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [ebp + 0xc]
add esp, 4
lea edx, [ecx + esi*4]
mov ecx, dword [edi + 0xc]
mov dword [edx + ecx], eax
inc esi
jmp 0x403ca0
xor esi, esi
mov ecx, dword [edi + 8]
mov edx, 1
cmp ecx, 1
mov dword [esp + 0x10], esi
mov eax, ecx
cmovl eax, edx
cmp esi, eax
jge 0x4038aa
xor edx, edx
mov eax, 4
test ecx, ecx
push 0
cmovne eax, edx
mov edx, dword [esp + 0xc]
push eax
push 0x14
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.004013e0
mov eax, dword [ebp + 0xc]
add esp, 0x14
mov ecx, dword [edi + 0xc]
lea edx, [eax + esi*8]
mov eax, dword [edx + ecx]
or eax, dword [edx + ecx + 4]
je 0x403db0
test dword [edi + 4], 0x2000
jne 0x403dd3
lea eax, [esp + 0x70]
push 0xffffffffffffffff
push eax
call fcn.004a26f0
mov ecx, dword [ebp + 0xc]
add esp, 8
lea esi, [ecx + esi*8]
mov ecx, dword [edi + 0xc]
mov dword [esi + ecx], eax
mov dword [esi + ecx + 4], edx
mov esi, dword [esp + 0x10]
inc esi
jmp 0x403d53
xor esi, esi
mov ecx, dword [edi + 8]
mov edx, 1
cmp ecx, 1
mov dword [esp + 0x10], esi
mov eax, ecx
cmovl eax, edx
cmp esi, eax
jge 0x4038aa
xor edx, edx
mov eax, 4
test ecx, ecx
push 0
cmovne eax, edx
mov edx, dword [esp + 0xc]
push eax
push 0x14
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.004013e0
mov eax, dword [ebp + 0xc]
add esp, 0x14
mov ecx, dword [edi + 0xc]
lea edx, [eax + esi*8]
mov eax, dword [edx + ecx]
or eax, dword [edx + ecx + 4]
je 0x403e38
test dword [edi + 4], 0x2000
jne 0x403e5b
lea eax, [esp + 0x70]
push 0xffffffffffffffff
push eax
call fcn.004a2950
mov ecx, dword [ebp + 0xc]
add esp, 8
lea esi, [ecx + esi*8]
mov ecx, dword [edi + 0xc]
mov dword [esi + ecx], eax
mov dword [esi + ecx + 4], edx
mov esi, dword [esp + 0x10]
inc esi
jmp 0x403ddb
xor esi, esi
mov ecx, dword [edi + 8]
mov edx, 1
cmp ecx, 1
mov eax, ecx
cmovl eax, edx
cmp esi, eax
jge 0x4038aa
xor edx, edx
mov eax, 4
test ecx, ecx
push 0
cmovne eax, edx
mov edx, dword [esp + 0xc]
push eax
push 0x14
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.004013e0
add esp, 0x14
lea eax, [esp + 0x70]
push 2
push 0x4ef4a4
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__memicmp]
add esp, 0xc
lea edx, [esp + 0x70]
test eax, eax
lea ecx, [esp + 0x72]
mov eax, dword [edi + 0xc]
cmovne ecx, edx
lea eax, [eax + esi*4]
add eax, dword [ebp + 0xc]
push eax
push 0x4ef4a8
push ecx
call fcn.004010d0
add esp, 0xc
inc esi
jmp 0x403e63
push 1
call fcn.00401610
mov edx, dword [esp + 0xc]
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x4038ae
push 0xc3
push eax
call dword [sym.imp.VCRUNTIME140.dll_strchr]
add esp, 8
test eax, eax
je 0x403f73
push 0
push 0
push 0xffffffffffffffff
push dword [esp + 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea ecx, [esi + esi]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edi, eax
push esi
push edi
push 0xffffffffffffffff
push dword [esp + 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0x3e8
push dword [esp + 0x18]
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push edi
call esi
mov edi, dword [esp + 0x14]
add esp, 4
jmp 0x403f79
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [edi + 4]
test eax, 0x200
je 0x404013
test eax, 0x40000
je 0x403fe2
mov eax, dword [esp + 0xc]
mov ecx, 0x4eb673
test eax, eax
cmovne ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403fa0
sub ecx, edx
lea eax, [ecx + 0x3e8]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [ebp + 0xc]
add esp, 4
mov ecx, dword [edi + 0xc]
mov dword [edx + ecx], eax
push dword [edi + 8]
mov eax, dword [edi + 0xc]
push dword [esp + 0x10]
push dword [edx + eax]
call fcn.0047cf10
add esp, 0xc
push dword [esp + 0xc]
call esi
jmp 0x4038a7
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
push 0x4f6
push 0x4ef374
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
push dword [edi + 8]
push dword [esp + 0x1c]
push eax
call fcn.0047ce40
add esp, 0x18
push dword [esp + 0xc]
call esi
jmp 0x4038a7
mov ecx, dword [edi + 8]
test eax, 0x10000
mov eax, dword [edi + 0xc]
je 0x40403e
add eax, dword [ebp + 0xc]
push 0
push ecx
push dword [esp + 0x14]
push eax
call fcn.0047d420
add esp, 0x10
push dword [esp + 0xc]
call esi
jmp 0x4038a7
add eax, dword [ebp + 0xc]
push ecx
push dword [esp + 0x10]
push eax
call fcn.0047cf10
add esp, 0xc
push dword [esp + 0xc]
call esi
jmp 0x4038a7
push 0
call fcn.00401610
mov edx, dword [esp + 0xc]
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x4038ae
mov ecx, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404080
sub ecx, edx
test dword [edi + 4], 0x200
mov dword [esp + 0x18], ecx
je 0x40411b
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
push dword [edi + 8]
mov dword [esp + 0x14], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [esp + 0x14]
xor ecx, ecx
add esp, 4
mov dword [esp + 0x1c], ecx
xor esi, esi
mov dword [edx], eax
cmp dword [esp + 0x18], ecx
jle 0x4040f7
cmp esi, dword [edi + 8]
jge 0x4041a2
mov eax, dword [esp + 0xc]
add eax, ecx
push eax
call fcn.00480e10
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [edx]
mov byte [esi + ecx], al
inc esi
mov ecx, dword [esp + 0x1c]
add ecx, 2
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x18]
jl 0x4040c4
cmp esi, dword [edi + 8]
jge 0x4041a2
mov eax, dword [edx]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [edi + 8]
jl 0x404100
push dword [esp + 0xc]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x4038a7
mov ecx, dword [esp + 0xc]
xor edx, edx
mov dword [esp + 0x10], edx
xor esi, esi
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404130
sub ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x404185
nop
cmp esi, dword [edi + 8]
jge 0x4041a2
mov eax, dword [esp + 0xc]
add eax, edx
push eax
call fcn.00480e10
mov ecx, dword [edi + 0xc]
add esp, 4
mov edx, dword [ebp + 0xc]
add ecx, esi
mov byte [ecx + edx], al
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add edx, 2
inc esi
mov dword [esp + 0x10], edx
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404176
sub ecx, dword [esp + 0x1c]
cmp edx, ecx
jl 0x404140
cmp esi, dword [edi + 8]
jge 0x4041a2
nop word [eax + eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
add ecx, esi
inc esi
mov byte [ecx + eax], 0
cmp esi, dword [edi + 8]
jl 0x404190
push dword [esp + 0xc]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x4038a7
mov dword [edi + 0x2c], 0
jmp 0x4038ae
mov ecx, 0x4ef4ac
lea eax, [esp + 0x70]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4041e6
test dl, dl
je 0x4041e2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4041e6
add eax, 2
add ecx, 2
test dl, dl
jne 0x4041c6
xor eax, eax
jmp 0x4041eb
sbb eax, eax
or eax, 1
test eax, eax
je case.0x4039ee.9
mov dword [esp + 0x18], 0
call fcn.00493410
test eax, eax
je 0x404271
call fcn.00493410
cmp dword [eax], 0
je 0x404271
mov eax, dword [0x52e820]
test eax, eax
je 0x40421f
mov esi, dword [eax + 0x190]
jmp 0x404225
mov esi, dword [0x52e824]
call fcn.00493410
test eax, eax
je 0x404237
call fcn.00493410
mov ecx, dword [eax]
jmp 0x404239
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
inc eax
push str.Unknown_field_identifier__s_for_struct__s_on_line__d
push eax
lea eax, [esp + 0x78]
push dword [edi]
push eax
push str.Unknown_field_identifier__s_for_struct__s_on_line__d
push dword [0x52e820]
push esi
push 0
push 0x529
push 0x4ef374
push 0x103
call ecx
add esp, 0x2c
jmp 0x404274
mov edi, dword [ebp + 8]
push str._Line__d_:__s
push str._Line__d_:__s
push str._Line__d_:__s
lea eax, [esp + 0x7c]
push eax
mov eax, dword [ebp + 0x14]
inc eax
push eax
push str._Line__d_:__s
lea eax, [esp + 0x30]
push 0
push eax
call fcn.00482920
add esp, 0x20
mov dword [esp + 0x28], eax
cmp dword [esp + 0x1c], 2
jne 0x4042ef
mov edx, dword [esp + 8]
lea eax, [esp + 0x70]
push 1
push 0
push 0x64
push ecx
push eax
call fcn.004013e0
add esp, 0x14
lea eax, [esp + 0x70]
push str.___s
push str.___s
push str.___s
push eax
push str.___s
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0047bfe0
add esp, 0x1c
call fcn.00493410
test eax, eax
je 0x404350
call fcn.00493410
cmp dword [eax], 0
je 0x404350
mov eax, dword [0x52e820]
test eax, eax
je 0x404313
mov esi, dword [eax + 0x190]
jmp 0x404319
mov esi, dword [0x52e824]
call fcn.00493410
test eax, eax
je 0x40432b
call fcn.00493410
mov ecx, dword [eax]
jmp 0x40432d
xor ecx, ecx
mov eax, dword [esp + 0x18]
push eax
push eax
push dword [0x52e820]
push esi
push 0
push 0x530
push 0x4ef374
push 0x103
call ecx
add esp, 0x20
cmp dword [esp + 0x18], 0
mov edx, dword [esp + 8]
je 0x4038b1
lea eax, [esp + 0x18]
push eax
call fcn.0047e900
add esp, 4
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [esp + 0xc]
add esp, 4
jmp 0x4038b1
mov edx, dword [esp + 8]
test eax, eax
jne 0x4038b1
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
lea edi, [edx + edx*2]
shl edi, 4
add edi, ecx
cmp dword [edi], 0
je 0x40462f
mov esi, dword [edi + 0x28]
mov dword [esp + 0x20], esi
test esi, esi
je 0x404619
cmp dword [edi + 0x2c], 0
jne 0x404619
test dword [edi + 4], 0x20000
je 0x404402
cmp dword [edi + 0xc], 0
je 0x404402
movups xmm0, xmmword [edi]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x3c]
movups xmmword [esp + 0x48], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esp + 0x68], xmm0
mov eax, dword [edi + 0xc]
call eax
mov ecx, dword [ebp + 8]
add esp, 8
mov edx, dword [esp + 0x14]
mov edi, eax
test edi, edi
je 0x404619
mov ecx, dword [edi + 4]
test ecx, 0x81000
jne case.0x404428.9
movzx eax, cl
add eax, 0xfffffffe
cmp eax, 9
ja case.0x404428.9
jmp dword [eax*4 + 0x404674]
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov eax, dword [edi + 0xc]
add esp, 4
mov ecx, dword [ebp + 0xc]
fstp qword [ecx + eax]
jmp 0x404612
push esi
call fcn.0047b9b0
mov eax, dword [edi + 0xc]
add esp, 4
mov ecx, dword [ebp + 0xc]
fstp qword [ecx + eax]
jmp 0x404612
push 8
push esi
call fcn.0047fcc0
mov ecx, dword [esp + 0x28]
mov esi, eax
add ecx, 8
push 6
push ecx
call fcn.0047fcc0
push eax
push esi
call fcn.0047b8d0
mov ecx, dword [edi + 0xc]
add esp, 0x18
mov esi, dword [ebp + 0xc]
mov dword [esi + ecx], eax
mov dword [esi + ecx + 4], edx
jmp 0x404612
push 2
push 0x4ef4a4
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__memicmp]
add esp, 0xc
test eax, eax
jne 0x4044c5
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
push eax
lea eax, [esi + 2]
push 0x4ef4a8
push eax
call fcn.004010d0
add esp, 0xc
jmp 0x404612
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [edi + 0xc]
add esp, 4
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx], eax
jmp 0x404612
push 0xffffffffffffffff
push esi
call fcn.004a26f0
mov ecx, dword [edi + 0xc]
add esp, 8
mov esi, dword [ebp + 0xc]
mov dword [esi + ecx], eax
mov dword [esi + ecx + 4], edx
jmp 0x404612
push 2
push 0x4ef4a4
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__memicmp]
add esp, 0xc
test eax, eax
jne 0x404512
add esi, 2
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
push eax
push 0x4ef4a8
push esi
call fcn.004010d0
add esp, 0xc
jmp 0x404612
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
test ecx, 0x200
je 0x40455c
push 0x565
push 0x4ef374
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
push dword [edi + 8]
push esi
push eax
call fcn.0047ce40
add esp, 0x18
jmp 0x404612
test ecx, 0x10000
je 0x404578
push 0
push dword [edi + 8]
push esi
push eax
call fcn.0047d420
add esp, 0x10
jmp 0x404612
push dword [edi + 8]
push esi
push eax
call fcn.0047cf10
add esp, 0xc
jmp 0x404612
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x24], edx
xor esi, esi
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4045a0
sub ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x4045f5
nop
cmp esi, dword [edi + 8]
jge 0x404612
mov eax, dword [esp + 0x20]
add eax, edx
push eax
call fcn.00480e10
mov ecx, dword [edi + 0xc]
add esp, 4
mov edx, dword [ebp + 0xc]
add ecx, esi
mov byte [ecx + edx], al
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add edx, 2
inc esi
mov dword [esp + 0x24], edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4045e6
sub ecx, dword [esp + 0x28]
cmp edx, ecx
jl 0x4045b0
cmp esi, dword [edi + 8]
jge 0x404612
nop word [eax + eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
add ecx, esi
inc esi
mov byte [ecx + eax], 0
cmp esi, dword [edi + 8]
jl 0x404600
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
inc edx
mov dword [esp + 0x14], edx
lea edi, [edx + edx*2]
shl edi, 4
add edi, ecx
cmp dword [edi], 0
jne 0x4043a6
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret