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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x8608
call fcn.004b7400
push esi
push edi
push 0x40
lea eax, [esp + 0x144]
mov dword [esp + 0x18], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x100]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x180]
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movq xmm0, qword [str._UInt]
lea eax, [esp + 0x4c]
mov dword [esp + 0x3c], eax
add esp, 0xc
cdq
mov dword [esp + 0x90], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x84], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x8c], eax
mov eax, dword [0x4dad44]
mov dword [esp + 0x1c8], eax
mov ax, word [0x4dad48]
push 0x436
mov word [esp + 0x1d0], ax
lea eax, [esp + 0x1d2]
push 0
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x64], 4
mov dword [esp + 0xc4], 1
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa0], edx
movq qword [esp + 0x1cc], xmm0
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp + 0xc]
xor al, al
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov byte [esp + 0x13], al
mov byte [esp + 0x1c], al
mov eax, 0x20
mov dword [edi + 8], 0
mov dword [edi], 0x4b9c10
mov ecx, dword [esi]
mov word [esp + 0x1c0], ax
call fcn.0046dea0
test eax, eax
je 0x49016b
mov dword [edi + 8], 1
mov ecx, dword [esi]
call fcn.0046dea0
cmp dword [ebp + 0x14], 1
mov edi, eax
jle 0x490144
mov ecx, dword [esi + 4]
mov edx, 1
call fcn.0046db90
mov ecx, eax
mov esi, edx
mov eax, dword [edi + 0x1c]
cdq
add eax, ecx
mov ecx, dword [ebp + 0xc]
adc edx, esi
mov dword [ecx + 4], edx
mov dword [ecx], eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov eax, dword [edi + 0x1c]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
cdq
add eax, ecx
mov ecx, dword [ebp + 0xc]
adc edx, esi
mov dword [ecx + 4], edx
mov dword [ecx], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
cmp edi, 1
jle 0x49019c
mov ecx, dword [esi + 4]
call fcn.0046da80
test eax, eax
je 0x49019c
mov ecx, dword [esi + 4]
xor edx, edx
call fcn.0046db90
mov dword [esp + 0x14], eax
cdq
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
cmp edi, 2
jle 0x4901cd
mov ecx, dword [esi + 8]
call fcn.0046da80
test eax, eax
je 0x4901cd
mov ecx, dword [esi + 8]
mov edx, 1
call fcn.0046db90
mov dword [esp + 0x30], eax
cdq
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
cmp edx, 5
ja case.0x4901db.1
jmp dword [edx*4 + 0x491114]
mov ecx, dword [ecx]
push 0
push 1
call fcn.00401670
mov edi, eax
mov dword [esp + 0xc], eax
jmp 0x4901fb
mov edi, dword [ecx]
mov dword [esp + 0xc], edi
cmp word [edi], 0
je case.0x4901db.1
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscspn]
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
mov dword [esp + 0x24], eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov dword [esp + 0x38], eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
mov dword [esp + 0x6c], eax
mov eax, dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov dword [esp + 0x44], eax
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wcstoi64]
mov dword [esp + 0x64], eax
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
mov dword [esp + 0x68], eax
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov dword [esp + 0x70], eax
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x18]
push 2
push 0x4dad4c
push edi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], eax
call ecx
add esp, 0xc
test eax, eax
jne 0x490310
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
mov dword [esp + 0x28], eax
test ax, ax
je 0x4902e5
movzx esi, ax
nop word [eax + eax]
mov ecx, 0x4d9e70
mov edx, 0xa
nop word [eax + eax]
cmp si, dx
je 0x49036f
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4902c0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x4902b0
mov edi, dword [esp + 0xc]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4902f0
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
mov dword [esp + 0xc], edi
cmp word [edi], 0
je case.0x4901db.1
mov esi, dword [esp + 0xc]
mov dword [esp + 0x3c], edi
movzx eax, word [esi]
test ax, ax
je 0x490359
mov esi, eax
mov ecx, str._n_r_t
mov edx, 0xa
nop dword [eax]
cmp si, dx
je 0x4903c0
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x490330
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x490322
mov esi, dword [esp + 0xc]
xor edi, edi
cmp esi, edi
jne 0x4903c6
mov edi, dword [esp + 0xc]
add edi, 2
mov dword [esp + 0xc], edi
jmp 0x49104c
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edi
movzx esi, ax
nop
mov ecx, 0x4d9e70
mov edx, 0xa
nop word [eax + eax]
cmp si, dx
je 0x490306
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x490390
movzx eax, word [edi + 2]
add edi, 2
mov dword [esp + 0xc], edi
mov esi, eax
test ax, ax
jne 0x490380
xor edi, edi
jmp 0x490302
mov esi, dword [esp + 0xc]
jmp 0x49035b
push 0x7b
push esi
call dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x490489
movzx eax, word [esi]
mov edi, esi
test ax, ax
je 0x4905bb
mov esi, eax
nop dword [eax + eax]
mov ecx, 0x4dad34
mov edx, 0x3b
nop word [eax + eax]
cmp si, dx
je 0x490426
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x490400
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x4903f0
jmp 0x4905b7
mov esi, dword [esp + 0xc]
push 0x7b
push esi
call dword [esp + 0x28]
movzx ecx, word [esi]
add esp, 8
mov dword [esp + 0x28], eax
mov edi, esi
test cx, cx
je 0x490489
mov esi, ecx
nop dword [eax]
nop dword [eax + eax]
mov ecx, 0x4dad34
mov edx, 0x3b
nop word [eax + eax]
cmp si, dx
je 0x4905ad
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x490460
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x490450
mov esi, dword [esp + 0xc]
movzx eax, word [esi]
cmp eax, 0x7d
jne 0x490688
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, edi
mov edx, dword [esp + esi*4 + 0x140]
sub eax, edx
mov ecx, dword [esp + esi*4 + 0x100]
cmp eax, ecx
jle 0x4904bc
mov ecx, eax
mov dword [esp + esi*4 + 0x100], eax
cmp esi, 1
jle 0x49067d
cmp byte [esp + esi + 0x9f], 0
je 0x49067d
mov esi, dword [esp + esi*4 + 0x180]
mov eax, edi
cdq
idiv esi
test edx, edx
je 0x4904f0
mov eax, esi
sub eax, edx
cdq
idiv esi
add edi, edx
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + esi*4 + 0x180]
mov esi, dword [edx]
cmp eax, esi
jle 0x490509
mov dword [edx], eax
mov esi, eax
cmp ecx, dword [esp + 0x34]
cmovle ecx, dword [esp + 0x34]
sub dword [esp + 0x18], 1
mov dword [esp + 0x34], ecx
jne 0x490540
mov eax, ecx
mov dword [esp + 0x34], ecx
cdq
idiv esi
mov eax, ecx
test edx, edx
je 0x49053a
mov eax, esi
sub eax, edx
cdq
idiv esi
lea eax, [ecx + edx]
mov dword [esp + 0x34], eax
add edi, eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0xc]
add eax, 2
mov dword [esp + 0xc], eax
mov edi, eax
je 0x49059d
movzx eax, word [eax]
test ax, ax
je 0x490591
mov esi, eax
nop dword [eax]
mov ecx, 0x4dad34
mov edx, 0x3b
nop word [eax + eax]
cmp si, dx
je 0x490593
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x490570
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x490560
xor edi, edi
cmp dword [esp + 0xc], edi
jne 0x491048
mov edi, dword [esp + 0x3c]
add edi, 4
mov dword [esp + 0xc], edi
jmp 0x49104c
cmp dword [esp + 0x28], edi
jae 0x490485
mov esi, dword [esp + 0xc]
inc dword [esp + 0x18]
xor eax, eax
mov edi, dword [esp + 0x7c]
test edi, edi
push str.struct
cmovne eax, dword [esp + 0x38]
push esi
mov dword [esp + 0x3c], eax
call dword [esp + 0x4c]
add esp, 8
test eax, eax
je 0x490603
push str.struct
push esi
call dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x14]
push 0x7b
push eax
call dword [esp + 0x30]
add esp, 0x10
cmp esi, eax
jae 0x490603
mov al, 1
jmp 0x490605
xor al, al
mov esi, dword [esp + 0xc]
mov ecx, esi
mov byte [esp + edi + 0xa1], al
call fcn.0048fd10
mov edi, dword [esp + 0x14]
movzx ecx, al
mov eax, edi
cdq
idiv ecx
test edx, edx
je 0x490634
mov eax, ecx
sub eax, edx
cdq
idiv ecx
add edi, edx
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x30]
push 0x7b
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [edx]
cmp eax, ecx
mov dword [edx], 0
cmovle eax, ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + ecx*4 + 0x18c], eax
mov dword [esp + ecx*4 + 0x14c], edi
mov dword [esp + ecx*4 + 0x10c], 0
call esi
add esp, 8
lea edi, [eax + 2]
mov dword [esp + 0xc], edi
jmp 0x49104c
mov edi, edx
mov dword [esp + 0x14], edi
jmp 0x4904f4
mov dword [esp + 0x28], 0
mov edi, esi
test ax, ax
je 0x4906d5
mov esi, eax
nop dword [eax]
mov ecx, 0x4dad70
mov edx, 0x7d
nop word [eax + eax]
cmp si, dx
je 0x490773
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4906b0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x4906a0
mov edi, dword [esp + 0xc]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4906e0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x4000
ja 0x4910c5
lea edx, [esp + 0x608]
mov ecx, edi
sub edx, edi
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x490710
cmp word [esp + 0x608], 0
je 0x4907c9
lea ecx, [esp + 0x608]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490740
sub ecx, edx
sar ecx, 1
lea eax, [esp + ecx*2 + 0x606]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x490763
cmp ecx, 9
jne 0x4907b2
lea edx, [esp + 0x608]
cmp eax, edx
je 0x4907ba
sub eax, 2
jmp 0x490756
mov edi, dword [esp + 0xc]
push 0x4dad70
push edi
call dword [esp + 0x2c]
mov esi, eax
add esp, 8
cmp esi, 0x4000
ja 0x4910c5
push esi
lea eax, [esp + 0x60c]
push edi
push eax
call dword [esp + 0x44]
add esp, 0xc
xor eax, eax
mov word [esp + esi*2 + 0x608], ax
jmp 0x490720
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x4907c9
cmp ecx, 0x20
je 0x4907c4
cmp ecx, 9
jne 0x4907c9
xor ecx, ecx
mov word [eax], cx
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x608]
push 0x5b
push eax
call esi
add esp, 8
test eax, eax
je 0x49087c
push 0x14
lea eax, [esp + 0x60c]
push 0x5b
push eax
call esi
add esp, 8
push eax
lea eax, [esp + 0xdc]
push eax
call dword [esp + 0x44]
add esp, 0xc
lea eax, [esp + 0xd4]
push 0x4dadb4
push eax
call dword [esp + 0x2c]
xor ecx, ecx
add esp, 8
mov word [esp + eax*2 + 0xd6], cx
lea ecx, [esp + 0xd6]
call fcn.00404af0
test al, al
lea eax, [esp + 0xd6]
je 0x490848
push 0x10
push 0
push eax
call dword [esp + 0x70]
add esp, 0xc
jmp 0x490850
push eax
call dword [esp + 0x6c]
add esp, 4
push 0
push 0
push 0x4001
push 0xffffffffffffffff
push 1
push 0x4b9c10
lea edx, [esp + 0xec]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x620]
call fcn.0049ce20
add esp, 0x18
lea eax, [esp + 0x608]
push 0x2a
push eax
call esi
add esp, 8
test eax, eax
je 0x4909bb
lea eax, [esp + 0x608]
push 0x3a
push eax
call esi
add esp, 8
test eax, eax
jne 0x49105f
mov edx, dword [esp + 0x14]
mov ecx, edx
and ecx, reloc.WSOCK32.dll_closesocket
jns 0x4908bf
dec ecx
or ecx, 0xfffffffc
add ecx, 1
je 0x4908d6
mov eax, 4
sub eax, ecx
and eax, reloc.WSOCK32.dll_closesocket
jns 0x4908d4
dec eax
or eax, 0xfffffffc
inc eax
add edx, eax
mov ecx, dword [esp + 0x28]
mov eax, 1
test ecx, ecx
cmovne eax, ecx
lea edx, [edx + eax*4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], edx
cmp dword [eax], 4
jge 0x4908fa
mov dword [eax], 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x49092c
mov ecx, dword [esp + esi*4 + 0x140]
mov eax, edx
sub eax, ecx
cmp eax, dword [esp + esi*4 + 0x100]
jle 0x49091d
mov dword [esp + esi*4 + 0x100], eax
cmp byte [esp + esi + 0xa0], 0
cmove edx, ecx
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x20]
push 0x7d
push edi
call esi
add esp, 8
test eax, eax
je 0x49097f
mov edx, 0x4dad34
mov ecx, edi
call fcn.00406300
test eax, eax
je 0x490966
push 0x7d
push edi
call esi
add esp, 8
mov edx, 0x4dad34
mov ecx, edi
mov esi, eax
call fcn.00406300
cmp esi, eax
jae 0x49097f
push 0x4ce418
push edi
call dword [esp + 0x2c]
add esp, 8
lea edi, [edi + eax*2]
mov dword [esp + 0xc], edi
jmp 0x49104c
mov edx, 0x4dad34
mov ecx, edi
call fcn.00406300
test eax, eax
jne 0x49100a
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4909a0
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
mov dword [esp + 0xc], edi
jmp 0x49104c
mov ax, word [esp + 0x608]
lea edi, [esp + 0x608]
test ax, ax
je 0x490a67
movzx esi, ax
nop word [eax + eax]
mov ecx, 0x4d049c
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x490a13
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4909f0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x4909e0
jmp 0x490a17
test edi, edi
jne 0x490a8b
movzx esi, word [esp + 0x608]
lea edi, [esp + 0x608]
nop word [eax + eax]
mov ecx, 0x4dad70
mov edx, 0x7d
nop word [eax + eax]
cmp si, dx
je 0x490a63
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x490a40
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x490a30
jmp 0x490a67
test edi, edi
jne 0x490a8b
mov edi, dword [esp + 0xc]
mov edx, 0x4dad70
mov ecx, edi
call fcn.00406300
test eax, eax
jne 0x490bf1
cmp dword [esp + 0x14], eax
jne 0x490bf1
jmp 0x490a8f
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x608]
push 0x4dadf8
push eax
call esi
add esp, 8
cmp eax, 0x218
ja 0x49107c
lea ecx, [esp + 0x608]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x490ac4
cmp eax, 9
jne 0x490ac9
add ecx, 2
jmp 0x490ab7
mov edx, 0x4d049c
call fcn.00406300
test eax, eax
je 0x490ae1
cmp word [eax], 0x3a
je 0x490b70
lea ecx, [esp + 0x1c0]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490af0
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 2]
push eax
lea eax, [esp + 0x60c]
push eax
lea eax, [esp + 0x1ca]
push eax
call dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
add esp, 0xc
xor edx, edx
movzx ecx, cl
test eax, eax
lea eax, [esp + 0x608]
cmovne ecx, edx
push 0x4dadf8
push eax
mov dword [esp + 0x24], ecx
call esi
push eax
lea eax, [esp + 0x614]
push eax
lea eax, [esp + 0x1d2]
push eax
call dword [esp + 0x4c]
add esp, 0x14
lea eax, [esp + 0x608]
push 0x4dadf8
push eax
call esi
add esp, 8
mov dword [esp + eax*2 + 0x1c2], 0x20
lea eax, [esp + 0x608]
push 0x3a
push eax
call dword [esp + 0x28]
mov esi, eax
add esp, 8
test esi, esi
je 0x490be7
mov ecx, dword [esp + 0x1c]
xor eax, eax
movzx edx, cl
shr edx, 3
cmp edx, dword [esp + 0x2c]
movzx ecx, cl
cmovne eax, ecx
add esi, 2
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.00404af0
test al, al
je 0x490bcd
push 0x10
push 0
push esi
call dword [esp + 0x7c]
mov dl, al
add esp, 0xc
mov eax, dword [esp + 0x3c]
add al, dl
mov byte [esp + 0x13], dl
mov byte [esp + 0x1c], al
jmp 0x490bf1
push esi
call dword [esp + 0x78]
mov dl, al
add esp, 4
mov eax, dword [esp + 0x3c]
add al, dl
mov byte [esp + 0x13], dl
mov byte [esp + 0x1c], al
jmp 0x490bf1
xor al, al
mov byte [esp + 0x13], al
mov byte [esp + 0x1c], al
mov ecx, str._bool
lea eax, [esp + 0x1c0]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x490c26
test dx, dx
je 0x490c22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x490c26
add eax, 4
add ecx, 4
test dx, dx
jne 0x490c00
xor eax, eax
jmp 0x490c2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x490c3a
mov eax, 1
mov dword [esp + 0x2c], eax
jmp 0x490c6e
xor esi, esi
nop dword [eax]
mov ecx, dword [esi*4 + 0x4dc710]
lea edx, [esp + 0x1c0]
call fcn.0049ca30
test eax, eax
jne 0x490c5f
inc esi
cmp esi, 8
jl 0x490c40
jmp 0x490c65
lea eax, [esi + 1]
movzx eax, ax
cwde
mov dword [esp + 0x2c], eax
test eax, eax
je 0x490ce5
mov cl, byte [esp + 0x13]
test cl, cl
je 0x490c7c
cmp byte [esp + 0x1c], cl
jne 0x490ca3
mov esi, dword [esp + 0x14]
cmp eax, 1
jle 0x490ca7
mov eax, esi
cdq
idiv dword [esp + 0x2c]
test edx, edx
je 0x490ca7
mov eax, dword [esp + 0x2c]
sub eax, edx
cdq
idiv dword [esp + 0x2c]
add esi, edx
mov dword [esp + 0x14], esi
jmp 0x490ca7
mov esi, dword [esp + 0x14]
test cl, cl
je 0x490cb1
cmp byte [esp + 0x1c], cl
jne 0x490cca
mov ecx, dword [esp + 0x28]
mov eax, 1
test ecx, ecx
cmovne eax, ecx
imul eax, dword [esp + 0x2c]
add esi, eax
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
cmp eax, dword [ecx]
jle 0x490f6f
mov dword [ecx], eax
jmp 0x490f6f
lea eax, [esp + 0x1c0]
mov dword [esp + 0x50], 0
push 0x28
push eax
call dword [esp + 0x28]
add esp, 8
test eax, eax
mov eax, dword [0x4e30fc]
je 0x490e57
mov esi, dword [eax + 0xb4]
lea eax, [esp + 0x1c0]
push 0
push 0x4dae10
push eax
call dword [esp + 0x30]
add esp, 8
dec eax
mov ecx, 0x4e7d50
push eax
lea eax, [esp + 0x1ca]
push eax
call fcn.00439660
mov ecx, dword [0x4e30fc]
mov dword [ecx + 0xb4], eax
test eax, eax
je 0x491099
xor ecx, ecx
movzx eax, word [esp + ecx + 0x1c2]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x606], ax
test ax, ax
jne 0x490d51
lea eax, [esp + 0x608]
push 0x4dae10
push eax
call dword [esp + 0x2c]
lea ecx, [esp + 0x612]
add esp, 8
lea edx, [esp + 0x1c2]
lea ecx, [ecx + eax*2]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x490d90
lea eax, [esp + 0x1c0]
push 0x29
push eax
call dword [esp + 0x28]
lea ecx, [esp + 0x1c8]
add esp, 8
lea edx, [ecx + 2]
mov dword [eax], 0x20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490dc1
sub ecx, edx
push 0
sar ecx, 1
push 2
push 0
lea eax, [ecx - 2]
mov ecx, 0x4e7d50
push eax
lea eax, [esp + 0x1d2]
push eax
call fcn.0043b290
mov dword [esp + 0x50], eax
mov eax, dword [0x4e30fc]
mov dword [eax + 0xb4], esi
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x490e47
lea ecx, [esp + 0x1c0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490e10
sub ecx, edx
push 0
sar ecx, 1
push 1
push 0
lea eax, [ecx - 2]
mov ecx, 0x4e7d50
push eax
lea eax, [esp + 0x1d2]
push eax
call fcn.0043b290
mov dword [esp + 0x50], eax
test eax, eax
je 0x4910bc
mov ecx, dword [esp + 0x58]
cmp ecx, 5
ja case.0x490e50.1
jmp dword [ecx*4 + 0x49112c]
cmp dword [eax + 0xb4], 0
je 0x490dfb
lea ecx, [esp + 0x1c0]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490e70
sub ecx, edx
push 0
sar ecx, 1
push 2
push 0
lea eax, [ecx - 2]
mov ecx, 0x4e7d50
push eax
lea eax, [esp + 0x1d2]
push eax
call fcn.0043b290
mov dword [esp + 0x50], eax
jmp 0x490dff
push 0
push 1
mov ecx, eax
call fcn.00401670
jmp case.0x490e50.0
mov eax, 0x4b9c10
mov ecx, eax
call fcn.0048fd10
mov edx, dword [esp + 0x30]
movzx eax, al
mov ecx, dword [edx]
cmp eax, ecx
jle 0x490ece
mov dword [edx], eax
mov ecx, eax
mov al, byte [esp + 0x13]
test al, al
je 0x490edc
cmp byte [esp + 0x1c], al
jne 0x490efc
mov esi, dword [esp + 0x14]
test esi, esi
je 0x490f00
mov eax, esi
cdq
idiv ecx
test edx, edx
je 0x490f00
mov eax, ecx
sub eax, edx
cdq
idiv ecx
add esi, edx
mov dword [esp + 0x14], esi
jmp 0x490f00
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x88]
mov eax, esi
cdq
push 3
mov dword [ecx], eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xc8]
mov dword [ecx + 4], edx
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0048ffb0
add esp, 0x10
cmp dword [esp + 0xc8], 1
jne 0x4910bc
mov al, byte [esp + 0x13]
test al, al
je 0x490f4d
cmp byte [esp + 0x1c], al
jne 0x490f6f
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xc0]
test eax, eax
je 0x490f66
mov ecx, edx
dec eax
sub ecx, esi
imul ecx, eax
jmp 0x490f68
xor ecx, ecx
lea esi, [ecx + edx]
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x18]
test edx, edx
je 0x490faa
mov ecx, dword [esp + edx*4 + 0x140]
mov eax, esi
sub eax, ecx
cmp eax, dword [esp + edx*4 + 0x100]
jle 0x490f92
mov dword [esp + edx*4 + 0x100], eax
cmp byte [esp + edx + 0xa0], 0
jne 0x490faa
mov dword [esp + 0x14], ecx
mov byte [esp + 0x1c], 0
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x20]
push 0x7d
push edi
call esi
add esp, 8
test eax, eax
je 0x490ffa
mov edx, 0x4dad34
mov ecx, edi
call fcn.00406300
test eax, eax
je 0x490fe4
push 0x7d
push edi
call esi
add esp, 8
mov edx, 0x4dad34
mov ecx, edi
mov esi, eax
call fcn.00406300
cmp esi, eax
jae 0x490ffa
push 0x4ce418
push edi
call dword [esp + 0x2c]
add esp, 8
lea edi, [edi + eax*2]
mov dword [esp + 0xc], edi
jmp 0x49104c
mov edx, 0x4dad34
mov ecx, edi
call fcn.00406300
test eax, eax
je 0x491023
push 0x4dad34
push edi
call dword [esp + 0x2c]
add esp, 8
lea edi, [edi + eax*2]
add edi, 2
mov dword [esp + 0xc], edi
jmp 0x49104c
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x491030
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
mov dword [esp + 0xc], edi
jmp 0x49104c
mov edi, dword [esp + 0xc]
cmp word [edi], 0
je case.0x4901db.1
mov ecx, dword [esp + 0x48]
jmp 0x490270
lea eax, [esp + 0x608]
mov ecx, 0x4e7d50
push eax
push 0x4dadb8
call fcn.00447cc0
pop edi
pop esi
mov esp, ebp
pop ebp
lea eax, [esp + 0x608]
push eax
push str.Invalid_structure_definition.
mov ecx, 0x4e7d50
call fcn.00447cc0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c0]
mov dword [ecx + 0xb4], esi
push eax
push str.Variable_was_not_found_in_function.
mov ecx, 0x4e7d50
call fcn.00447cc0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c0]
jmp 0x491083
push edi
push str.Invalid_structure_definition.
mov ecx, 0x4e7d50
call fcn.00447cc0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4910fb
mov eax, esi
cdq
idiv ecx
test edx, edx
je 0x4910fb
mov eax, ecx
sub eax, edx
cdq
idiv ecx
add esi, edx
mov ecx, dword [ebp + 0xc]
mov eax, esi
cdq
pop edi
pop esi
mov dword [ecx + 8], 1
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret