Function at 0x495781
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x50], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, 3
jg 0x4957a6
mov eax, 0
jmp 0x496609
mov eax, dword [ebp + 8]
mov eax, dword [eax]
movzx eax, byte [eax]
movzx eax, al
and eax, 0xdf
cmp eax, 0x43
je 0x4957c5
mov eax, 0
jmp 0x496609
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 1
movzx eax, byte [eax]
movzx eax, al
and eax, 0xdf
cmp eax, 0x4f
je 0x4957e7
mov eax, 0
jmp 0x496609
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 2
movzx eax, byte [eax]
movzx eax, al
and eax, 0xdf
cmp eax, 0x4d
je 0x495809
mov eax, 0
jmp 0x496609
mov dword [0xa3481c], 0xffffffff
mov dword [0xa34820], 3
jmp 0x4958ba
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [0xa34820]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [0xa34824], eax
mov eax, dword [0xa34824]
cmp eax, 0x3a
je 0x4958df
mov eax, dword [0xa34824]
cmp eax, 0x2f
jle 0x49585b
mov eax, dword [0xa34824]
cmp eax, 0x39
jle 0x495865
mov eax, 0
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
jne 0x49588d
mov eax, dword [0xa34824]
cmp eax, 0x30
jne 0x495883
mov eax, 0
jmp 0x496609
mov dword [0xa3481c], 0
mov edx, dword [0xa3481c]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov eax, dword [0xa34824]
sub eax, 0x30
add eax, edx
mov dword [0xa3481c], eax
mov eax, dword [0xa34820]
add eax, 1
mov dword [0xa34820], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea edx, [eax - 1]
mov eax, dword [0xa34820]
cmp edx, eax
setg al
test al, al
jne 0x495822
mov eax, 0
jmp 0x496609
nop
mov eax, dword [0xa34828]
cmp eax, 6
jg 0x4958ff
mov eax, dword [0xa3481c]
test eax, eax
jle 0x4958ff
mov eax, dword [0xa3481c]
cmp eax, 0xff
jle 0x495909
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x50], dl
mov eax, dword [0xa3482c]
test eax, eax
jne 0x495938
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa3482c], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004636f6
mov edx, eax
mov eax, dword [0xa3482c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov edx, dword [0xa3482c]
mov eax, dword [edx + 4]
sub eax, 1
mov dword [edx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x54], 0xffffffff
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x58], 0xff
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x59], 0xff
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5a], 0xff
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5d], 0xff
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5b], 0xff
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5c], 0xff
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x60], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x64], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x68], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x6c], 0xffffffff
mov dword [0xa34830], 0
mov dword [0xa34834], 0
mov dword [0xa34838], 1
mov dword [0xa3483c], 1
mov dword [0xa34840], 0
mov dword [0xa34844], 0
mov dword [0xa3481c], 0xffffffff
mov eax, dword [0xa34820]
add eax, 1
mov dword [0xa34820], eax
jmp 0x496468
mov eax, dword [0xa3482c]
mov edx, dword [eax]
mov eax, dword [0xa34820]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [0xa34824], eax
mov eax, dword [0xa34824]
cmp eax, 0x2c
je 0x495cea
mov eax, dword [0xa34824]
cmp eax, 0x2f
jle 0x495a68
mov eax, dword [0xa34824]
cmp eax, 0x39
jle 0x495a5e
mov eax, dword [0xa34824]
cmp eax, 0x40
jle 0x495a68
mov eax, dword [0xa34824]
cmp eax, 0x5a
jle 0x495a72
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3483c]
cmp eax, 2
jne 0x495a90
mov eax, dword [0xa34824]
cmp eax, 0x40
jle 0x495a90
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa34824]
cmp eax, 0x40
jg 0x495aa4
mov dword [0xa3483c], 2
mov eax, dword [0xa3483c]
cmp eax, 1
je 0x495abc
mov eax, dword [0xa34838]
cmp eax, 4
jne 0x495c47
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
and ecx, 0xff0000
mov dword [ebp - 0x20], ecx
mov ebx, edx
and ebx, 0
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
test eax, eax
je 0x495b28
mov eax, dword [0xa34824]
shl eax, 0x18
mov dword [ebp - 0x48], eax
mov edx, eax
sar edx, 0x1f
mov dword [ebp - 0x44], edx
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, dword [ebp - 0x48]
or ecx, eax
mov dword [ebp - 0x28], ecx
mov ebx, dword [ebp - 0x44]
or ebx, edx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [0xa34840], eax
mov dword [0xa34844], edx
jmp 0x495c1b
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
and ecx, 0xff00
mov dword [ebp - 0x30], ecx
mov ebx, edx
and ebx, 0
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x30]
test eax, eax
je 0x495b94
mov eax, dword [0xa34824]
shl eax, 0x10
mov dword [ebp - 0x48], eax
mov edx, eax
sar edx, 0x1f
mov dword [ebp - 0x44], edx
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, dword [ebp - 0x48]
or ecx, eax
mov dword [ebp - 0x38], ecx
mov ebx, dword [ebp - 0x44]
or ebx, edx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [0xa34840], eax
mov dword [0xa34844], edx
jmp 0x495c1b
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
movzx esi, al
mov edi, edx
and edi, 0
mov eax, edi
or eax, esi
test eax, eax
je 0x495bf0
mov eax, dword [0xa34824]
shl eax, 8
mov dword [ebp - 0x48], eax
mov edx, eax
sar edx, 0x1f
mov dword [ebp - 0x44], edx
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, dword [ebp - 0x48]
or ecx, eax
mov dword [ebp - 0x40], ecx
mov ebx, dword [ebp - 0x44]
or ebx, edx
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [0xa34840], eax
mov dword [0xa34844], edx
jmp 0x495c1b
mov eax, dword [0xa34824]
mov edx, eax
sar edx, 0x1f
mov dword [0xa34840], eax
mov dword [0xa34844], edx
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov dword [0xa34840], eax
mov dword [0xa34844], edx
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
test edx, edx
js 0x495cea
test edx, edx
jg 0x495c3d
cmp eax, 0x1000000
jbe 0x495cea
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa34824]
cmp eax, 0x30
jle 0x495ca5
mov eax, dword [0xa34824]
cmp eax, 0x39
jg 0x495ca5
mov eax, dword [0xa3481c]
cmp eax, 0xfffffffe
jne 0x495c6f
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
jne 0x495c83
mov dword [0xa3481c], 0
mov edx, dword [0xa3481c]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov eax, dword [0xa34824]
sub eax, 0x30
add eax, edx
mov dword [0xa3481c], eax
jmp 0x495cea
mov eax, dword [0xa3481c]
cmp eax, 0xfffffffe
jne 0x495cb9
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
jne 0x495ccd
mov dword [0xa3481c], 0xfffffffe
mov eax, dword [0xa3481c]
test eax, eax
jle 0x495cea
mov edx, dword [0xa3481c]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0xa3481c], eax
mov eax, dword [0xa34824]
cmp eax, 0x2c
je 0x495d0c
mov eax, dword [0xa3482c]
mov eax, dword [eax + 4]
lea edx, [eax - 1]
mov eax, dword [0xa34820]
cmp edx, eax
jne 0x49645b
mov eax, dword [0xa3481c]
cmp eax, 0xfffffffe
jne 0x495d20
mov dword [0xa3481c], 0
mov eax, dword [0xa34838]
cmp eax, 1
jne 0x495d9f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x54]
cmp eax, 0xffffffff
je 0x495d3f
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
or eax, edx
test eax, eax
je 0x495d5a
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
test eax, eax
jne 0x495d6d
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
jne 0x495d81
mov dword [0xa3481c], 0x12c
mov edx, dword [0xa3481c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x54], edx
mov eax, dword [0xa34838]
add eax, 1
mov dword [0xa34838], eax
jmp 0x496433
mov eax, dword [0xa34838]
cmp eax, 2
jne 0x495efd
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x58]
cmp al, 0xff
je 0x495dc2
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
je 0x495dd6
mov eax, 0xffffffff
jmp 0x496609
mov dword [0xa34828], 0xffffffff
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x4e
mov eax, ecx
or eax, edx
test eax, eax
jne 0x495e02
mov dword [0xa34828], 0
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
or eax, edx
test eax, eax
jne 0x495e1d
mov dword [0xa34828], 1
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x45
mov eax, ecx
or eax, edx
test eax, eax
jne 0x495e3f
mov dword [0xa34828], 1
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x4f
mov eax, ecx
or eax, edx
test eax, eax
jne 0x495e61
mov dword [0xa34828], 2
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x53
mov eax, ecx
or eax, edx
test eax, eax
jne 0x495e83
mov dword [0xa34828], 3
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x4d
mov eax, ecx
or eax, edx
test eax, eax
jne 0x495ea5
mov dword [0xa34828], 4
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x4550
mov eax, ecx
or eax, edx
test eax, eax
jne 0x495eca
mov dword [0xa34828], 5
mov eax, dword [0xa34828]
cmp eax, 0xffffffff
jne 0x495ede
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa34828]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x58], dl
mov eax, dword [0xa34838]
add eax, 1
mov dword [0xa34838], eax
jmp 0x496433
mov eax, dword [0xa34838]
cmp eax, 3
jne 0x495fdc
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x59]
cmp al, 0xff
je 0x495f20
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
or eax, edx
test eax, eax
je 0x495f3b
mov eax, 0xffffffff
jmp 0x496609
mov dword [0xa34828], 0xffffffff
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
jne 0x495f59
mov dword [0xa34828], 7
mov eax, dword [0xa3481c]
cmp eax, 5
jne 0x495f6d
mov dword [0xa34828], 5
mov eax, dword [0xa3481c]
cmp eax, 6
jne 0x495f81
mov dword [0xa34828], 6
mov eax, dword [0xa3481c]
cmp eax, 7
jne 0x495f95
mov dword [0xa34828], 7
mov eax, dword [0xa3481c]
cmp eax, 8
jne 0x495fa9
mov dword [0xa34828], 8
mov eax, dword [0xa34828]
cmp eax, 0xffffffff
jne 0x495fbd
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa34828]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x59], dl
mov eax, dword [0xa34838]
add eax, 1
mov dword [0xa34838], eax
jmp 0x496433
mov eax, dword [0xa34838]
cmp eax, 4
jne 0x4960fe
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5a]
cmp al, 0xff
je 0x495fff
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
je 0x496013
mov eax, 0xffffffff
jmp 0x496609
mov dword [0xa34828], 0xffffffff
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
or eax, edx
test eax, eax
jne 0x496062
mov dword [0xa34828], 0xa
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x54]
cmp eax, 0x6e
jg 0x496062
mov dword [0xa34828], 0x14
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x59]
cmp al, 5
jne 0x496062
mov dword [0xa34828], 0xf
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x31
mov eax, ecx
or eax, edx
test eax, eax
jne 0x496084
mov dword [0xa34828], 0xa
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x352e31
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4960a9
mov dword [0xa34828], 0xf
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x32
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4960cb
mov dword [0xa34828], 0x14
mov eax, dword [0xa34828]
cmp eax, 0xffffffff
jne 0x4960df
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa34828]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5a], dl
mov eax, dword [0xa34838]
add eax, 1
mov dword [0xa34838], eax
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
or eax, edx
test eax, eax
jne 0x496119
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x5352
mov eax, ecx
or eax, edx
test eax, eax
jne 0x496155
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5d]
cmp al, 0xff
je 0x496149
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5d], 1
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x4e4942
mov eax, ecx
or eax, edx
test eax, eax
jne 0x496191
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5b]
cmp al, 0xff
je 0x496185
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5b], 0
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x435341
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4961cd
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5b]
cmp al, 0xff
je 0x4961c1
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5b], 1
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x4254
mov eax, ecx
or eax, edx
test eax, eax
jne 0x49620a
mov eax, dword [0xa34834]
test eax, eax
je 0x4961fb
mov eax, 0xffffffff
jmp 0x496609
mov dword [0xa34834], 1
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x4252
mov eax, ecx
or eax, edx
test eax, eax
jne 0x496247
mov eax, dword [0xa34830]
test eax, eax
je 0x496238
mov eax, 0xffffffff
jmp 0x496609
mov dword [0xa34830], 1
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x464c
mov eax, ecx
or eax, edx
test eax, eax
jne 0x496283
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5c]
cmp al, 0xff
je 0x496277
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5c], 1
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x4443
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4962ee
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x60]
cmp eax, 0xffffffff
je 0x4962b3
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
jne 0x4962c7
mov dword [0xa3481c], 0
mov eax, dword [0xa3481c]
cmp eax, 0xffff
jle 0x4962dd
mov eax, 0xffffffff
jmp 0x496609
mov edx, dword [0xa3481c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x60], edx
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x5343
mov eax, ecx
or eax, edx
test eax, eax
jne 0x496359
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x64]
cmp eax, 0xffffffff
je 0x49631e
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
jne 0x496332
mov dword [0xa3481c], 0x3e8
mov eax, dword [0xa3481c]
cmp eax, 0xffff
jle 0x496348
mov eax, 0xffffffff
jmp 0x496609
mov edx, dword [0xa3481c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x64], edx
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x5344
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4963c1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
je 0x496389
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
jne 0x49639d
mov dword [0xa3481c], 0x3e8
mov eax, dword [0xa3481c]
cmp eax, 0xffff
jle 0x4963b3
mov eax, 0xffffffff
jmp 0x496609
mov edx, dword [0xa3481c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x68], edx
jmp 0x496433
mov eax, dword [0xa34840]
mov edx, dword [0xa34844]
mov ecx, eax
xor ecx, 0x504f
mov eax, ecx
or eax, edx
test eax, eax
jne 0x496429
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x6c]
cmp eax, 0xffffffff
je 0x4963f1
mov eax, 0xffffffff
jmp 0x496609
mov eax, dword [0xa3481c]
cmp eax, 0xffffffff
jne 0x496405
mov dword [0xa3481c], 0x2710
mov eax, dword [0xa3481c]
cmp eax, 0xffff
jle 0x49641b
mov eax, 0xffffffff
jmp 0x496609
mov edx, dword [0xa3481c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x6c], edx
jmp 0x496433
mov eax, 0xffffffff
jmp 0x496609
mov dword [0xa3483c], 1
mov dword [0xa34840], 0
mov dword [0xa34844], 0
mov dword [0xa3481c], 0xffffffff
mov eax, dword [0xa34820]
add eax, 1
mov dword [0xa34820], eax
mov eax, dword [0xa3482c]
mov edx, dword [eax + 4]
mov eax, dword [0xa34820]
cmp edx, eax
setg al
test al, al
jne 0x495a19
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x54]
cmp eax, 0xffffffff
jne 0x496497
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x54], 0x12c
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x58]
cmp al, 0xff
jne 0x4964a9
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x58], 1
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x59]
cmp al, 0xff
jne 0x4964bb
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x59], 7
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5a]
cmp al, 0xff
jne 0x496507
mov dword [0xa34828], 0xa
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x54]
cmp eax, 0x6e
jg 0x4964fa
mov dword [0xa34828], 0x14
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x59]
cmp al, 5
jne 0x4964fa
mov dword [0xa34828], 0xf
mov eax, dword [0xa34828]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5a], dl
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5b]
cmp al, 0xff
jne 0x496519
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5b], 0
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5c]
cmp al, 0xff
jne 0x49652b
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5c], 0
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5c]
cmp al, 1
jne 0x496548
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5b]
test al, al
jne 0x496548
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5c], 0
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5d]
cmp al, 0xff
jne 0x49655a
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5d], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x60]
cmp eax, 0xffffffff
jne 0x49656f
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x60], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x64]
cmp eax, 0xffffffff
jne 0x496584
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x64], 0x3e8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
jne 0x496599
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x68], 0x3e8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x6c]
cmp eax, 0xffffffff
jne 0x496607
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x60]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0xa34828], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x68]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0xa34848], eax
mov edx, dword [0xa34848]
mov eax, dword [0xa34828]
cmp edx, eax
jle 0x4965e5
mov eax, dword [0xa34848]
mov dword [0xa34828], eax
mov eax, dword [0xa34828]
cmp eax, 0xffff
jle 0x4965fb
mov dword [0xa34828], 0xffff
mov edx, dword [0xa34828]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x6c], edx
jmp 0x496609
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret