Function at 0x4958d0
Capabilities:
Enumerate pe sections
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4958d8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4973bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4e8]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x3230], 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x64]
cmp eax, 0x12
ja case.0x495923.0
mov al, byte [eax + 0x49592a]
jmp dword [eax*4 + 0x49593d]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x5ec]
cmp word [esi], 0xea60
jne 0x495970
cmp word [esi + 2], 0
jne 0x495993
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4f8]
mov dword [eax + 0x4e0], ecx
mov ecx, dword [edx + 0x4fc]
mov dword [eax + 0x4e4], ecx
jmp 0x497377
movzx ecx, word [esi + 2]
lea edx, [esi + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov bl, byte [esi + 4]
lea eax, [esi + 4]
xor edx, edx
mov dl, bl
add eax, edx
lea edx, [ebp - 0x38]
call fcn.0040a570
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
cmp word [eax + 0x3222], 0
je 0x4959eb
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4d8]
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x3224]
call dword [edi + 0x3220]
movzx eax, word [esi + 2]
xor edx, edx
mov ecx, dword [ebp - 4]
add dword [ecx + 0x4e0], eax
adc dword [ecx + 0x4e4], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
add eax, 2
adc edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
add eax, 4
adc edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x4e0]
adc edx, dword [ecx + 0x4e4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3208], eax
mov dword [ecx + 0x320c], edx
mov eax, dword [esi + 0x14]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3210], eax
mov dword [ecx + 0x3214], edx
mov al, byte [esi + 8]
and al, 4
cmp al, 4
jne 0x495cec
mov byte [esi + 8], 0
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x524]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00484b6c
test al, al
jne 0x495ace
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
jmp 0x497377
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x4e0], 0
mov dword [eax + 0x4e4], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x68]
mov dword [eax + 0x4f8], ecx
mov ecx, dword [edx + 0x6c]
mov dword [eax + 0x4fc], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x31f4]
mov edx, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edi, dword [eax]
call dword [edi + 0xc]
movzx ecx, word [esi + 2]
lea edx, [esi + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edi, dword [eax]
call dword [edi + 0xc]
movzx eax, word [esi + 2]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x31f4]
xor edx, edx
mov ecx, dword [ebp - 4]
add dword [ecx + 0x4e0], eax
adc dword [ecx + 0x4e4], edx
cmp word [esi], 0xea60
jne 0x495c26
test byte [esi + 8], 4
seta al
mov edx, dword [ebp - 4]
mov byte [edx + 0x31ec], al
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
add eax, 2
adc edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
add eax, 4
adc edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
mov eax, dword [ebp - 4]
push dword [eax + 0x4e4]
push dword [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d978
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x31f4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5ec]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5ec]
movzx ecx, word [eax + 2]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov bl, byte [esi + 4]
movzx eax, word [esi + 2]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x31f4]
xor edx, edx
mov ecx, dword [ebp - 4]
add dword [ecx + 0x4e0], eax
adc dword [ecx + 0x4e4], edx
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [ebp - 4]
add dword [ecx + 0x3208], eax
adc dword [ecx + 0x320c], edx
mov eax, dword [esi + 0x14]
xor edx, edx
mov ecx, dword [ebp - 4]
add dword [ecx + 0x3210], eax
adc dword [ecx + 0x3214], edx
test byte [esi + 8], 4
jne 0x495aa4
cmp word [esi], 0xea60
jne 0x495d05
lea eax, [esi + 4]
xor edx, edx
mov dl, bl
add eax, edx
lea edx, [ebp - 0x3c]
call fcn.0040a570
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
add eax, 4
adc edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
add eax, 2
adc edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x4e0]
adc edx, dword [ecx + 0x4e4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x495d05
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31ec], 0
je 0x495d05
mov al, byte [esi + 8]
and al, 8
cmp al, 8
je 0x497377
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3208]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3210]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x374]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
call fcn.00485bf8
test al, al
je 0x497377
cmp byte [esi + 0xa], 3
jne 0x495d71
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31fc], 0
je 0x497377
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00495088
jmp 0x497377
mov eax, dword [esi + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004957cc
mov eax, dword [ebp - 4]
inc dword [eax + 0x4b8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00495088
jmp 0x497377
mov eax, dword [ebp - 4]
add eax, 0x2ec8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp byte [eax], 0
jne 0x495dd8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4f8]
mov dword [eax + 0x4e0], ecx
mov ecx, dword [edx + 0x4fc]
mov dword [eax + 0x4e4], ecx
jmp 0x497377
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + 0x14]
sub al, 2
jb 0x495de9
je 0x495e44
jmp 0x495f10
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x15]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0048b5ec
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
push dword [eax + 0x4e4]
push dword [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d978
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 0x1a]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 5
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x495f33
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
sub eax, 1
sbb edx, 0
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d978
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 0x1a]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 0x15]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
add dword [eax + 0x4e0], 5
adc dword [eax + 0x4e4], 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x15]
sub cl, 3
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0048b5ec
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
push dword [eax + 0x4e4]
push dword [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d978
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 0x1d]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x495f33
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4f8]
mov dword [eax + 0x4e0], ecx
mov ecx, dword [edx + 0x4fc]
mov dword [eax + 0x4e4], ecx
jmp 0x497377
mov eax, dword [ebp - 4]
cmp word [eax + 0x3222], 0
je 0x495f5b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4d8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x3224]
call dword [ebx + 0x3220]
mov eax, pe_nt_image_headers32
call fcn.004027b0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49602f
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x496002
movzx ecx, bx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
sub al, 2
je 0x495f96
jmp 0x495fe4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0040a570
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x10]
call fcn.0048b230
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
add eax, 0x1f
call fcn.004043c4
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x1f]
call fcn.0048b11c
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4d8]
call fcn.00404664
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 0x1d]
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax - 2]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ax, word [eax]
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x1d], ax
mov eax, dword [ebp - 0x2c]
mov bx, word [eax + 0x1d]
test bx, bx
jbe 0x496019
cmp bx, 0x100
jb 0x495f7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496036
mov eax, dword [ebp - 0xc]
call fcn.004027d0
ret
mov eax, dword [ebp - 4]
add eax, 0x5fe
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp byte [eax + 2], 0x75
jne 0x4961bf
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31f4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + 5]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 3]
and ax, 0x8000
cmp ax, 0x8000
jne 0x4961e6
mov eax, dword [ebp - 0x30]
cmp word [eax + 5], 0
je 0x4961e6
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
je 0x496209
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4f8]
mov dword [eax + 0x4e0], ecx
mov ecx, dword [edx + 0x4fc]
mov dword [eax + 0x4e4], ecx
jmp 0x497377
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 3]
mov edx, eax
and dx, 0x4000
cmp dx, 0x4000
je 0x496227
mov edx, dword [ebp - 0x30]
cmp byte [edx + 2], 0x74
je 0x496289
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31f4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + 5]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 7]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
test ax, 0x100
jbe 0x4962e9
mov eax, dword [ebp - 4]
push dword [eax + 0x4e4]
push dword [eax + 0x4e0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3234]
call fcn.0041d978
lea edx, [ebp - 0x25]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3234]
mov ecx, 8
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
add eax, 8
adc edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x4962f6
lea eax, [ebp - 0x25]
mov edx, 8
call fcn.004079d4
mov eax, dword [ebp - 0x30]
test byte [eax + 4], 2
jne 0x49632c
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1a]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0048b5ec
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x4963d0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1a]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0048b5ec
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x478]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x478], 0
xor eax, eax
push ebp
push 0x4963c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x30]
mov cx, word [eax + 0x1a]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
call fcn.0048368c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.00404624
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4963d0
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x1d]
mov byte [eax + 0x478], dl
ret
mov eax, dword [ebp - 4]
cmp word [eax + 0x3222], 0
je 0x4963f8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4d8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x3224]
call dword [ebx + 0x3220]
mov eax, dword [ebp - 0x21]
cdq
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xb]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3210], eax
mov dword [ecx + 0x3214], edx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x60d]
cmp ax, 3
jne 0x496457
mov eax, dword [ebp - 4]
test byte [eax + 0x61b], 0x40
jne 0x49644b
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1c], 0x20
jmp 0x496466
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1c], 0x10
jmp 0x496466
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x61a]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x30]
test dword [eax + 0x1c], 0x10
jle 0x496498
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d8]
call fcn.0048b11c
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
jmp 0x4965b1
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 3]
test ax, 1
jbe 0x4964ae
test al, 2
je 0x4965b1
and ax, 2
cmp ax, 2
jne 0x4965b1
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x524]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00484b6c
test al, al
jne 0x4964f1
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4b8], 0
jne 0x497377
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x4e0], 0
mov dword [eax + 0x4e4], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x68]
mov dword [eax + 0x4f8], ecx
mov ecx, dword [edx + 0x6c]
mov dword [eax + 0x4fc], ecx
push 0
push 7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d978
mov eax, dword [ebp - 4]
lea edx, [eax + 0x31d1]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 0xd
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0xd
je 0x496580
push 0
push 0x4973d8
push 0x6294
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
mov edx, dword [0x48adc0]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x94]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d958
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4e0]
mov dword [eax + 0x70], ecx
mov ecx, dword [edx + 0x4e4]
mov dword [eax + 0x74], ecx
mov eax, dword [ebp - 0x30]
test word [eax + 3], 1
jbe 0x4965f8
mov eax, dword [ebp - 0x25]
cdq
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 7]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x3208]
adc edx, dword [ecx + 0x320c]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3208], eax
mov dword [ecx + 0x320c], edx
jmp 0x496623
mov eax, dword [ebp - 0x25]
cdq
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 7]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3208], eax
mov dword [ecx + 0x320c], edx
mov eax, dword [ebp - 0x30]
test byte [eax + 3], 2
je 0x49663c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
je 0x497377
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x374]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
call fcn.00485bf8
test al, al
je 0x4966d6
mov eax, dword [ebp - 0x30]
test dword [eax + 0x1c], 0x10
jle 0x49668b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31fc], 0
je 0x4966d6
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00495088
jmp 0x4966d6
mov eax, dword [ebp - 4]
inc dword [eax + 0x4b8]
mov eax, dword [ebp - 4]
push dword [eax + 0x320c]
push dword [eax + 0x3208]
mov eax, dword [ebp - 0x21]
cdq
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xb]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004957cc
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00495088
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31f4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + 0x1a]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + 5]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x25]
cdq
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 7]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
mov eax, dword [ebp - 4]
add eax, 0x5f0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, word [eax]
call fcn.0048b5c0
test al, al
je 0x496ca6
mov eax, dword [ebp - 0x34]
mov ax, word [eax]
cmp ax, 0x8b1f
je 0x496790
cmp ax, 0x9e1f
jne 0x4967d6
mov eax, dword [ebp - 0x34]
mov al, byte [eax + 3]
and al, 4
cmp al, 4
jne 0x4967d6
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 0
push 0xa
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d978
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
call fcn.0048a6fc
mov eax, dword [ebp - 4]
fstp qword [eax + 0x530]
wait
jmp 0x49686c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x4d0], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x4d4], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
sub eax, 0xa
sbb edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4a0], eax
mov dword [ecx + 0x4a4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4a0]
mov dword [eax + 0x498], ecx
mov ecx, dword [edx + 0x4a4]
mov dword [eax + 0x49c], ecx
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x9d1f
jne 0x496857
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.00409bd4
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x530]
wait
jmp 0x49686c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
call fcn.0048a6fc
mov eax, dword [ebp - 4]
fstp qword [eax + 0x530]
wait
mov eax, dword [ebp - 0x34]
mov ax, word [eax]
cmp ax, 0x8b1f
je 0x49687e
cmp ax, 0x9e1f
jne 0x4968f6
mov eax, dword [ebp - 0x34]
mov al, byte [eax + 3]
and al, 8
cmp al, 8
jne 0x4968f6
mov eax, pe_nt_image_headers32
call fcn.004027b0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4968ef
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 0xff
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xc]
mov byte [edx + eax], 0
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0xc]
call fcn.0040a570
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496947
mov eax, dword [ebp - 0xc]
call fcn.004027d0
ret
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.0040a030
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
mov eax, dword [ebp - 4]
add eax, 0x4d8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d8]
call fcn.0040485c
call fcn.0048b48c
xor ecx, ecx
mov cl, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d8]
mov edx, 1
call fcn.004048bc
mov eax, dword [ebp - 0x34]
mov ax, word [eax]
cmp ax, 0x8b1f
je 0x49695d
cmp ax, 0x9e1f
jne 0x496ac8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
sub eax, 8
sbb edx, 0
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d978
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x18], 0x8b1f
jne 0x496a61
mov eax, dword [ebp - 0x34]
lea edx, [eax + 0xa]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
push edx
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xa]
add eax, 8
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0xa]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0048b5ec
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
sub eax, 0x10
mov edx, dword [ebp - 0x34]
add eax, dword [edx + 0xa]
cdq
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d978
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4d0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xa]
add eax, 8
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x498]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x496a6d
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x4d0], edx
mov eax, dword [ebp - 4]
lea edx, [eax + 0x498]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
mov al, byte [eax + 3]
and al, 0x20
cmp al, 0x20
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x4d4], al
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
push edx
push eax
mov eax, dword [ebp - 0x1c]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
sub eax, 8
sbb edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4a0], eax
mov dword [ecx + 0x4a4], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4a4]
mov eax, dword [eax + 0x4a0]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x49c]
jne 0x496aec
cmp eax, dword [ecx + 0x498]
jbe 0x496b0c
jmp 0x496aee
jle 0x496b0c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4a0]
mov dword [eax + 0x498], ecx
mov ecx, dword [edx + 0x4a4]
mov dword [eax + 0x49c], ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0x4b8]
mov eax, dword [ebp - 4]
cmp word [eax + 0x3222], 0
je 0x496b3d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4d8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x3224]
call dword [ebx + 0x3220]
mov eax, dword [ebp - 4]
cmp word [eax + 0x41a], 0
je 0x496c79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.0040485c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x464], ebx
cmp ebx, 0x80
jne 0x496b7d
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x464], edx
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 4]
mov word [edx + 0x52a], ax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cl, byte [eax + 3]
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dl, byte [eax + 2]
mov eax, dword [ebp - 4]
call fcn.004843a8
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
add eax, 0x508
call fcn.004043c4
mov eax, dword [ebp - 4]
push dword [eax + 0x4a4]
push dword [eax + 0x4a0]
mov eax, dword [ebp - 4]
push dword [eax + 0x49c]
push dword [eax + 0x498]
mov eax, dword [ebp - 4]
call fcn.004957cc
mov eax, dword [ebp - 4]
push dword [eax + 0x4a4]
push dword [eax + 0x4a0]
mov eax, dword [ebp - 4]
push dword [eax + 0x49c]
push dword [eax + 0x498]
call fcn.0048b9b0
mov edx, dword [ebp - 4]
mov byte [edx + 0x504], al
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x478]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d8]
call fcn.0048b388
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x3219]
sub al, 1
jb 0x496c49
je 0x496c62
dec al
jne 0x496c79
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4b8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 4]
call fcn.00495010
jmp 0x496c79
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31f8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041d958
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x4a0]
adc edx, dword [ecx + 0x4a4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4f8]
mov dword [eax + 0x4e0], ecx
mov ecx, dword [edx + 0x4fc]
mov dword [eax + 0x4e4], ecx
jmp 0x497377
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x315c]
lea eax, [ebp - 0x78]
push eax
mov cl, byte [ebx + 0x1c]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0048b5ec
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
mov eax, dword [ebp - 4]
cmp word [eax + 0x3222], 0
je 0x496d24
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4d8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x3224]
call dword [esi + 0x3220]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x374]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
call fcn.00485bf8
test al, al
je 0x496d78
mov eax, dword [ebp - 4]
inc dword [eax + 0x4b8]
mov eax, dword [ebx + 6]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 2]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004957cc
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00495088
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4e4]
mov eax, dword [eax + 0x4e0]
sub eax, 0x1d
sbb edx, 0
push edx
push eax
xor eax, eax
mov al, byte [ebx + 0x1c]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
movzx eax, word [ebx + 0x16]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
mov eax, dword [ebp - 4]
test byte [eax + 0x359], 2
je 0x496f45
mov eax, dword [ebp - 4]
add eax, 0x3230
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x9f]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.00489120
cmp al, 1
je 0x496e3b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4b8], 0
jne 0x496e1e
push 0x4973d8
push 0x621a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x60]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3230], 0
je 0x496e5a
mov eax, dword [ebp - 4]
lea edx, [eax + 0x9f]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.0048921c
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xbb]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0048b5ec
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3230], 0
je 0x496eb7
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004048b4
mov edx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xbb]
mov eax, dword [ebp - 4]
call fcn.004891cc
mov eax, dword [ebp - 4]
test byte [eax + 0xc5], 0x10
jne 0x496ed6
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x496ef7
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d8]
call fcn.0048b668
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
push 1
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xbd]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00482c4c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0x31fd], edx
mov edx, dword [ebp - 0x88]
mov dword [eax + 0x3201], edx
mov dx, word [ebp - 0x84]
mov word [eax + 0x3205], dx
jmp 0x4970e7
mov eax, dword [ebp - 4]
mov dl, byte [0x4973dc]
cmp dl, byte [eax + 0x359]
jne 0x4970ca
mov eax, dword [ebp - 4]
add eax, 0x3230
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x81]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00489120
test al, al
je 0x496fc0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4b8], 0
jne 0x496fa3
push 0x4973d8
push 0x621a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x60]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3230], 0
je 0x497038
mov eax, dword [ebp - 4]
lea edx, [eax + 0x81]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0048921c
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x9b]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0048b5ec
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004048b4
mov edx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x9b]
mov eax, dword [ebp - 4]
call fcn.004891cc
jmp 0x49706e
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x9b]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x4e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0048b5ec
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
push 0
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
mov cx, word [eax + 0x9d]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00482c4c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0x31fd], edx
mov edx, dword [ebp - 0x88]
mov dword [eax + 0x3201], edx
mov dx, word [ebp - 0x84]
mov word [eax + 0x3205], dx
jmp 0x4970e7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
mov eax, dword [ebp - 4]
cmp word [eax + 0x3222], 0
je 0x49710f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4d8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x3224]
call dword [ebx + 0x3220]
mov eax, dword [ebp - 4]
mov dl, byte [0x4973dc]
cmp dl, byte [eax + 0x359]
jne 0x49720f
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x81]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x374]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
call fcn.00485bf8
test al, al
je 0x4971b9
mov eax, dword [ebp - 4]
inc dword [eax + 0x4b8]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x3201]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebx + 0x12]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x3203]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebx + 0x16]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004957cc
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00495088
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x3201]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebx + 0x12]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
movzx eax, word [ebx + 0x1c]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x4e0]
adc edx, dword [ecx + 0x4e4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x9f]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x64], 0x12
je 0x49724d
mov eax, dword [ebp - 4]
test byte [eax + 0x359], 1
jne 0x49724d
push 0x4973d8
push 0x621a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x98]
mov ax, word [ebx + 0x20]
test ax, ax
jbe 0x497269
push ebp
movzx edx, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4e8]
call fcn.00495814
pop ecx
movzx esi, word [ebx + 0x26]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x444]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x374]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
call fcn.00485e60
test al, al
je 0x497333
test esi, 0x10
jle 0x4972cf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31fc], 0
je 0x497333
mov eax, dword [ebp - 4]
inc dword [eax + 0x4b8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00495088
jmp 0x497333
mov eax, dword [ebp - 4]
inc dword [eax + 0x4b8]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x3201]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebx + 0x14]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x3203]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebx + 0x18]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004957cc
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00495088
movzx eax, word [ebx + 0x1e]
xor edx, edx
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x4e0]
adc edx, dword [ecx + 0x4e4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4e0], eax
mov dword [ecx + 0x4e4], edx
jmp 0x497377
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4f8]
mov dword [eax + 0x4e0], ecx
mov ecx, dword [edx + 0x4fc]
mov dword [eax + 0x4e4], ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4973c6
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.00404394
lea eax, [ebp - 0x80]
mov edx, 9
call fcn.00404394
lea eax, [ebp - 0x5c]
call fcn.00404aa8
lea eax, [ebp - 0x58]
mov edx, 9
call fcn.00404394
lea eax, [ebp - 0x10]
call fcn.00404370
ret