Function at 0x4af621
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 0x4af646
mov eax, 0
jmp 0x4b04a9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
movzx eax, byte [eax]
movzx eax, al
and eax, 0xdf
cmp eax, 0x43
je 0x4af665
mov eax, 0
jmp 0x4b04a9
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 0x4af687
mov eax, 0
jmp 0x4b04a9
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 0x4af6a9
mov eax, 0
jmp 0x4b04a9
mov dword [0xa4fd1c], 0xffffffff
mov dword [0xa4fd20], 3
jmp 0x4af75a
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [0xa4fd20]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [0xa4fd24], eax
mov eax, dword [0xa4fd24]
cmp eax, 0x3a
je 0x4af77f
mov eax, dword [0xa4fd24]
cmp eax, 0x2f
jle 0x4af6fb
mov eax, dword [0xa4fd24]
cmp eax, 0x39
jle 0x4af705
mov eax, 0
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
jne 0x4af72d
mov eax, dword [0xa4fd24]
cmp eax, 0x30
jne 0x4af723
mov eax, 0
jmp 0x4b04a9
mov dword [0xa4fd1c], 0
mov edx, dword [0xa4fd1c]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov eax, dword [0xa4fd24]
sub eax, 0x30
add eax, edx
mov dword [0xa4fd1c], eax
mov eax, dword [0xa4fd20]
add eax, 1
mov dword [0xa4fd20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea edx, [eax - 1]
mov eax, dword [0xa4fd20]
cmp edx, eax
setg al
test al, al
jne 0x4af6c2
mov eax, 0
jmp 0x4b04a9
nop
mov eax, dword [0xa4fd28]
cmp eax, 6
jg 0x4af79f
mov eax, dword [0xa4fd1c]
test eax, eax
jle 0x4af79f
mov eax, dword [0xa4fd1c]
cmp eax, 0xff
jle 0x4af7a9
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x50], dl
mov eax, dword [0xa4fd2c]
test eax, eax
jne 0x4af7d8
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa4fd2c], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0047d596
mov edx, eax
mov eax, dword [0xa4fd2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov edx, dword [0xa4fd2c]
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 [0xa4fd30], 0
mov dword [0xa4fd34], 0
mov dword [0xa4fd38], 1
mov dword [0xa4fd3c], 1
mov dword [0xa4fd40], 0
mov dword [0xa4fd44], 0
mov dword [0xa4fd1c], 0xffffffff
mov eax, dword [0xa4fd20]
add eax, 1
mov dword [0xa4fd20], eax
jmp 0x4b0308
mov eax, dword [0xa4fd2c]
mov edx, dword [eax]
mov eax, dword [0xa4fd20]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [0xa4fd24], eax
mov eax, dword [0xa4fd24]
cmp eax, 0x2c
je 0x4afb8a
mov eax, dword [0xa4fd24]
cmp eax, 0x2f
jle 0x4af908
mov eax, dword [0xa4fd24]
cmp eax, 0x39
jle 0x4af8fe
mov eax, dword [0xa4fd24]
cmp eax, 0x40
jle 0x4af908
mov eax, dword [0xa4fd24]
cmp eax, 0x5a
jle 0x4af912
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd3c]
cmp eax, 2
jne 0x4af930
mov eax, dword [0xa4fd24]
cmp eax, 0x40
jle 0x4af930
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd24]
cmp eax, 0x40
jg 0x4af944
mov dword [0xa4fd3c], 2
mov eax, dword [0xa4fd3c]
cmp eax, 1
je 0x4af95c
mov eax, dword [0xa4fd38]
cmp eax, 4
jne 0x4afae7
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
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 0x4af9c8
mov eax, dword [0xa4fd24]
shl eax, 0x18
mov dword [ebp - 0x48], eax
mov edx, eax
sar edx, 0x1f
mov dword [ebp - 0x44], edx
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
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 [0xa4fd40], eax
mov dword [0xa4fd44], edx
jmp 0x4afabb
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
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 0x4afa34
mov eax, dword [0xa4fd24]
shl eax, 0x10
mov dword [ebp - 0x48], eax
mov edx, eax
sar edx, 0x1f
mov dword [ebp - 0x44], edx
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
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 [0xa4fd40], eax
mov dword [0xa4fd44], edx
jmp 0x4afabb
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
movzx esi, al
mov edi, edx
and edi, 0
mov eax, edi
or eax, esi
test eax, eax
je 0x4afa90
mov eax, dword [0xa4fd24]
shl eax, 8
mov dword [ebp - 0x48], eax
mov edx, eax
sar edx, 0x1f
mov dword [ebp - 0x44], edx
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
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 [0xa4fd40], eax
mov dword [0xa4fd44], edx
jmp 0x4afabb
mov eax, dword [0xa4fd24]
mov edx, eax
sar edx, 0x1f
mov dword [0xa4fd40], eax
mov dword [0xa4fd44], edx
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov dword [0xa4fd40], eax
mov dword [0xa4fd44], edx
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
test edx, edx
js 0x4afb8a
test edx, edx
jg 0x4afadd
cmp eax, 0x1000000
jbe 0x4afb8a
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd24]
cmp eax, 0x30
jle 0x4afb45
mov eax, dword [0xa4fd24]
cmp eax, 0x39
jg 0x4afb45
mov eax, dword [0xa4fd1c]
cmp eax, 0xfffffffe
jne 0x4afb0f
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
jne 0x4afb23
mov dword [0xa4fd1c], 0
mov edx, dword [0xa4fd1c]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov eax, dword [0xa4fd24]
sub eax, 0x30
add eax, edx
mov dword [0xa4fd1c], eax
jmp 0x4afb8a
mov eax, dword [0xa4fd1c]
cmp eax, 0xfffffffe
jne 0x4afb59
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
jne 0x4afb6d
mov dword [0xa4fd1c], 0xfffffffe
mov eax, dword [0xa4fd1c]
test eax, eax
jle 0x4afb8a
mov edx, dword [0xa4fd1c]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0xa4fd1c], eax
mov eax, dword [0xa4fd24]
cmp eax, 0x2c
je 0x4afbac
mov eax, dword [0xa4fd2c]
mov eax, dword [eax + 4]
lea edx, [eax - 1]
mov eax, dword [0xa4fd20]
cmp edx, eax
jne 0x4b02fb
mov eax, dword [0xa4fd1c]
cmp eax, 0xfffffffe
jne 0x4afbc0
mov dword [0xa4fd1c], 0
mov eax, dword [0xa4fd38]
cmp eax, 1
jne 0x4afc3f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x54]
cmp eax, 0xffffffff
je 0x4afbdf
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
or eax, edx
test eax, eax
je 0x4afbfa
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
test eax, eax
jne 0x4afc0d
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
jne 0x4afc21
mov dword [0xa4fd1c], 0x12c
mov edx, dword [0xa4fd1c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x54], edx
mov eax, dword [0xa4fd38]
add eax, 1
mov dword [0xa4fd38], eax
jmp 0x4b02d3
mov eax, dword [0xa4fd38]
cmp eax, 2
jne 0x4afd9d
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x58]
cmp al, 0xff
je 0x4afc62
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
je 0x4afc76
mov eax, 0xffffffff
jmp 0x4b04a9
mov dword [0xa4fd28], 0xffffffff
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x4e
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4afca2
mov dword [0xa4fd28], 0
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
or eax, edx
test eax, eax
jne 0x4afcbd
mov dword [0xa4fd28], 1
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x45
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4afcdf
mov dword [0xa4fd28], 1
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x4f
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4afd01
mov dword [0xa4fd28], 2
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x53
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4afd23
mov dword [0xa4fd28], 3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x4d
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4afd45
mov dword [0xa4fd28], 4
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x4550
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4afd6a
mov dword [0xa4fd28], 5
mov eax, dword [0xa4fd28]
cmp eax, 0xffffffff
jne 0x4afd7e
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd28]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x58], dl
mov eax, dword [0xa4fd38]
add eax, 1
mov dword [0xa4fd38], eax
jmp 0x4b02d3
mov eax, dword [0xa4fd38]
cmp eax, 3
jne 0x4afe7c
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x59]
cmp al, 0xff
je 0x4afdc0
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
or eax, edx
test eax, eax
je 0x4afddb
mov eax, 0xffffffff
jmp 0x4b04a9
mov dword [0xa4fd28], 0xffffffff
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
jne 0x4afdf9
mov dword [0xa4fd28], 7
mov eax, dword [0xa4fd1c]
cmp eax, 5
jne 0x4afe0d
mov dword [0xa4fd28], 5
mov eax, dword [0xa4fd1c]
cmp eax, 6
jne 0x4afe21
mov dword [0xa4fd28], 6
mov eax, dword [0xa4fd1c]
cmp eax, 7
jne 0x4afe35
mov dword [0xa4fd28], 7
mov eax, dword [0xa4fd1c]
cmp eax, 8
jne 0x4afe49
mov dword [0xa4fd28], 8
mov eax, dword [0xa4fd28]
cmp eax, 0xffffffff
jne 0x4afe5d
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd28]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x59], dl
mov eax, dword [0xa4fd38]
add eax, 1
mov dword [0xa4fd38], eax
jmp 0x4b02d3
mov eax, dword [0xa4fd38]
cmp eax, 4
jne 0x4aff9e
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5a]
cmp al, 0xff
je 0x4afe9f
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
je 0x4afeb3
mov eax, 0xffffffff
jmp 0x4b04a9
mov dword [0xa4fd28], 0xffffffff
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
or eax, edx
test eax, eax
jne 0x4aff02
mov dword [0xa4fd28], 0xa
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x54]
cmp eax, 0x6e
jg 0x4aff02
mov dword [0xa4fd28], 0x14
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x59]
cmp al, 5
jne 0x4aff02
mov dword [0xa4fd28], 0xf
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x31
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4aff24
mov dword [0xa4fd28], 0xa
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x352e31
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4aff49
mov dword [0xa4fd28], 0xf
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x32
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4aff6b
mov dword [0xa4fd28], 0x14
mov eax, dword [0xa4fd28]
cmp eax, 0xffffffff
jne 0x4aff7f
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd28]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5a], dl
mov eax, dword [0xa4fd38]
add eax, 1
mov dword [0xa4fd38], eax
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
or eax, edx
test eax, eax
jne 0x4affb9
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x5352
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4afff5
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5d]
cmp al, 0xff
je 0x4affe9
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5d], 1
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x4e4942
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4b0031
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5b]
cmp al, 0xff
je 0x4b0025
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5b], 0
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x435341
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4b006d
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5b]
cmp al, 0xff
je 0x4b0061
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5b], 1
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x4254
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4b00aa
mov eax, dword [0xa4fd34]
test eax, eax
je 0x4b009b
mov eax, 0xffffffff
jmp 0x4b04a9
mov dword [0xa4fd34], 1
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x4252
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4b00e7
mov eax, dword [0xa4fd30]
test eax, eax
je 0x4b00d8
mov eax, 0xffffffff
jmp 0x4b04a9
mov dword [0xa4fd30], 1
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x464c
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4b0123
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5c]
cmp al, 0xff
je 0x4b0117
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5c], 1
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x4443
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4b018e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x60]
cmp eax, 0xffffffff
je 0x4b0153
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
jne 0x4b0167
mov dword [0xa4fd1c], 0
mov eax, dword [0xa4fd1c]
cmp eax, 0xffff
jle 0x4b017d
mov eax, 0xffffffff
jmp 0x4b04a9
mov edx, dword [0xa4fd1c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x60], edx
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x5343
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4b01f9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x64]
cmp eax, 0xffffffff
je 0x4b01be
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
jne 0x4b01d2
mov dword [0xa4fd1c], 0x3e8
mov eax, dword [0xa4fd1c]
cmp eax, 0xffff
jle 0x4b01e8
mov eax, 0xffffffff
jmp 0x4b04a9
mov edx, dword [0xa4fd1c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x64], edx
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x5344
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4b0261
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
je 0x4b0229
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
jne 0x4b023d
mov dword [0xa4fd1c], 0x3e8
mov eax, dword [0xa4fd1c]
cmp eax, 0xffff
jle 0x4b0253
mov eax, 0xffffffff
jmp 0x4b04a9
mov edx, dword [0xa4fd1c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x68], edx
jmp 0x4b02d3
mov eax, dword [0xa4fd40]
mov edx, dword [0xa4fd44]
mov ecx, eax
xor ecx, 0x504f
mov eax, ecx
or eax, edx
test eax, eax
jne 0x4b02c9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x6c]
cmp eax, 0xffffffff
je 0x4b0291
mov eax, 0xffffffff
jmp 0x4b04a9
mov eax, dword [0xa4fd1c]
cmp eax, 0xffffffff
jne 0x4b02a5
mov dword [0xa4fd1c], 0x2710
mov eax, dword [0xa4fd1c]
cmp eax, 0xffff
jle 0x4b02bb
mov eax, 0xffffffff
jmp 0x4b04a9
mov edx, dword [0xa4fd1c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x6c], edx
jmp 0x4b02d3
mov eax, 0xffffffff
jmp 0x4b04a9
mov dword [0xa4fd3c], 1
mov dword [0xa4fd40], 0
mov dword [0xa4fd44], 0
mov dword [0xa4fd1c], 0xffffffff
mov eax, dword [0xa4fd20]
add eax, 1
mov dword [0xa4fd20], eax
mov eax, dword [0xa4fd2c]
mov edx, dword [eax + 4]
mov eax, dword [0xa4fd20]
cmp edx, eax
setg al
test al, al
jne 0x4af8b9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x54]
cmp eax, 0xffffffff
jne 0x4b0337
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x54], 0x12c
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x58]
cmp al, 0xff
jne 0x4b0349
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x58], 1
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x59]
cmp al, 0xff
jne 0x4b035b
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x59], 7
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5a]
cmp al, 0xff
jne 0x4b03a7
mov dword [0xa4fd28], 0xa
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x54]
cmp eax, 0x6e
jg 0x4b039a
mov dword [0xa4fd28], 0x14
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x59]
cmp al, 5
jne 0x4b039a
mov dword [0xa4fd28], 0xf
mov eax, dword [0xa4fd28]
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 0x4b03b9
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5b], 0
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5c]
cmp al, 0xff
jne 0x4b03cb
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5c], 0
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5c]
cmp al, 1
jne 0x4b03e8
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5b]
test al, al
jne 0x4b03e8
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5c], 0
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x5d]
cmp al, 0xff
jne 0x4b03fa
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x5d], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x60]
cmp eax, 0xffffffff
jne 0x4b040f
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x60], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x64]
cmp eax, 0xffffffff
jne 0x4b0424
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x64], 0x3e8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
jne 0x4b0439
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x68], 0x3e8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x6c]
cmp eax, 0xffffffff
jne 0x4b04a7
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x60]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0xa4fd28], 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 [0xa4fd48], eax
mov edx, dword [0xa4fd48]
mov eax, dword [0xa4fd28]
cmp edx, eax
jle 0x4b0485
mov eax, dword [0xa4fd48]
mov dword [0xa4fd28], eax
mov eax, dword [0xa4fd28]
cmp eax, 0xffff
jle 0x4b049b
mov dword [0xa4fd28], 0xffff
mov edx, dword [0xa4fd28]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x6c], edx
jmp 0x4b04a9
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret