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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x495918
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4973ff
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.0x495963.0
mov al, byte [eax + 0x49596a]
jmp dword [eax*4 + 0x49597d]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x5ec]
cmp word [esi], 0xea60
jne 0x4959b0
cmp word [esi + 2], 0
jne 0x4959d3
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 0x4973b7
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 0x495a2b
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 0x495d2c
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.00484bac
test al, al
jne 0x495b0e
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
jmp 0x4973b7
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 0x495c66
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 0x495ae4
cmp word [esi], 0xea60
jne 0x495d45
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 0x495d45
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31ec], 0
je 0x495d45
mov al, byte [esi + 8]
and al, 8
cmp al, 8
je 0x4973b7
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.00485c38
test al, al
je 0x4973b7
cmp byte [esi + 0xa], 3
jne 0x495db1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31fc], 0
je 0x4973b7
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004950c8
jmp 0x4973b7
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.0049580c
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.004950c8
jmp 0x4973b7
mov eax, dword [ebp - 4]
add eax, 0x2ec8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp byte [eax], 0
jne 0x495e18
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 0x4973b7
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + 0x14]
sub al, 2
jb 0x495e29
je 0x495e84
jmp 0x495f50
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.0048b62c
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 0x495f73
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.0048b62c
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 0x495f73
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 0x4973b7
mov eax, dword [ebp - 4]
cmp word [eax + 0x3222], 0
je 0x495f9b
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 0x49606f
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x496042
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 0x495fd6
jmp 0x496024
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0040a570
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x10]
call fcn.0048b270
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.0048b15c
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 0x496059
cmp bx, 0x100
jb 0x495fbb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496076
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 0x4961ff
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 0x4973b7
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 3]
and ax, 0x8000
cmp ax, 0x8000
jne 0x496226
mov eax, dword [ebp - 0x30]
cmp word [eax + 5], 0
je 0x496226
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
je 0x496249
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 0x4973b7
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 3]
mov edx, eax
and dx, 0x4000
cmp dx, 0x4000
je 0x496267
mov edx, dword [ebp - 0x30]
cmp byte [edx + 2], 0x74
je 0x4962c9
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 0x4973b7
test ax, 0x100
jbe 0x496329
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 0x496336
lea eax, [ebp - 0x25]
mov edx, 8
call fcn.004079d4
mov eax, dword [ebp - 0x30]
test byte [eax + 4], 2
jne 0x49636c
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.0048b62c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x496410
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.0048b62c
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 0x496409
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.004836cc
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 0x496410
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 0x496438
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 0x496497
mov eax, dword [ebp - 4]
test byte [eax + 0x61b], 0x40
jne 0x49648b
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1c], 0x20
jmp 0x4964a6
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1c], 0x10
jmp 0x4964a6
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 0x4964d8
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d8]
call fcn.0048b15c
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
add eax, 0x4d8
call fcn.004043c4
jmp 0x4965f1
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 3]
test ax, 1
jbe 0x4964ee
test al, 2
je 0x4965f1
and ax, 2
cmp ax, 2
jne 0x4965f1
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x524]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00484bac
test al, al
jne 0x496531
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 0x4973b7
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 0x4965c0
push 0
push 0x497418
push 0x6294
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
mov edx, dword [0x48ae00]
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 0x496638
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 0x496663
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 0x49667c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
je 0x4973b7
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.00485c38
test al, al
je 0x496716
mov eax, dword [ebp - 0x30]
test dword [eax + 0x1c], 0x10
jle 0x4966cb
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31fc], 0
je 0x496716
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004950c8
jmp 0x496716
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.0049580c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004950c8
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 0x4973b7
mov eax, dword [ebp - 4]
add eax, 0x5f0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, word [eax]
call fcn.0048b600
test al, al
je 0x496ce6
mov eax, dword [ebp - 0x34]
mov ax, word [eax]
cmp ax, 0x8b1f
je 0x4967d0
cmp ax, 0x9e1f
jne 0x496816
mov eax, dword [ebp - 0x34]
mov al, byte [eax + 3]
and al, 4
cmp al, 4
jne 0x496816
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.0048a73c
mov eax, dword [ebp - 4]
fstp qword [eax + 0x530]
wait
jmp 0x4968ac
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 0x496897
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 0x4968ac
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
call fcn.0048a73c
mov eax, dword [ebp - 4]
fstp qword [eax + 0x530]
wait
mov eax, dword [ebp - 0x34]
mov ax, word [eax]
cmp ax, 0x8b1f
je 0x4968be
cmp ax, 0x9e1f
jne 0x496936
mov eax, dword [ebp - 0x34]
mov al, byte [eax + 3]
and al, 8
cmp al, 8
jne 0x496936
mov eax, pe_nt_image_headers32
call fcn.004027b0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x49692f
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 0x496987
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.0048b4cc
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 0x49699d
cmp ax, 0x9e1f
jne 0x496b08
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 0x496aa1
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.0048b62c
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 0x496aad
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 0x496b2c
cmp eax, dword [ecx + 0x498]
jbe 0x496b4c
jmp 0x496b2e
jle 0x496b4c
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 0x496b7d
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 0x496cb9
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 0x496bbd
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.004843e8
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.0049580c
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.0048b9f0
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.0048b3c8
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 0x496c89
je 0x496ca2
dec al
jne 0x496cb9
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.00495050
jmp 0x496cb9
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 0x4973b7
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 0x4973b7
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.0048b62c
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 0x496d64
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.00485c38
test al, al
je 0x496db8
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.0049580c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004950c8
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 0x4973b7
mov eax, dword [ebp - 4]
test byte [eax + 0x359], 2
je 0x496f85
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.00489160
cmp al, 1
je 0x496e7b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4b8], 0
jne 0x496e5e
push 0x497418
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 0x4973b7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3230], 0
je 0x496e9a
mov eax, dword [ebp - 4]
lea edx, [eax + 0x9f]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.0048925c
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.0048b62c
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 0x496ef7
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.0048920c
mov eax, dword [ebp - 4]
test byte [eax + 0xc5], 0x10
jne 0x496f16
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4d8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x496f37
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d8]
call fcn.0048b6a8
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.00482c8c
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 0x497127
mov eax, dword [ebp - 4]
mov dl, byte [0x49741c]
cmp dl, byte [eax + 0x359]
jne 0x49710a
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.00489160
test al, al
je 0x497000
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4b8], 0
jne 0x496fe3
push 0x497418
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 0x4973b7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3230], 0
je 0x497078
mov eax, dword [ebp - 4]
lea edx, [eax + 0x81]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0048925c
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.0048b62c
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.0048920c
jmp 0x4970ae
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.0048b62c
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.00482c8c
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 0x497127
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 0x4973b7
mov eax, dword [ebp - 4]
cmp word [eax + 0x3222], 0
je 0x49714f
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 [0x49741c]
cmp dl, byte [eax + 0x359]
jne 0x49724f
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.00485c38
test al, al
je 0x4971f9
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.0049580c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004950c8
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 0x4973b7
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x9f]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x64], 0x12
je 0x49728d
mov eax, dword [ebp - 4]
test byte [eax + 0x359], 1
jne 0x49728d
push 0x497418
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 0x4972a9
push ebp
movzx edx, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4e8]
call fcn.00495854
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.00485ea0
test al, al
je 0x497373
test esi, 0x10
jle 0x49730f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31fc], 0
je 0x497373
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.004950c8
jmp 0x497373
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.0049580c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004950c8
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 0x4973b7
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 0x497406
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