Function at 0x8495f0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x16c
mov eax, dword [0x906980]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x180]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x178], eax
mov eax, dword [edi + 0xd04]
push ecx
mov dword [esp + 0x4c], eax
call fcn.00852430
mov edx, dword [edi + 0xc]
push edx
mov dword [esp + 0x30], eax
call fcn.00851c50
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x8e8]
xor esi, esi
add esp, 8
cmp eax, esi
je 0x8496fa
mov eax, dword [edi + 8]
cmp eax, esi
je 0x8496fa
push eax
call dword [eax + 8]
mov ebp, eax
add esp, 4
cmp ebp, esi
je 0x8496fa
jle 0x8496cf
mov al, byte [edi + 0x24]
cmp al, 0x2a
lea ebx, [edi + 0x24]
lea esi, [edi + 0x25]
je 0x849687
mov esi, ebx
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 8]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [edi + 0xc]
push eax
push esi
push ecx
call fcn.00852440
add esp, 0x10
cmp esi, ebx
je 0x8496b1
mov edx, dword [edi + 0xc]
push 1
push edx
call fcn.00851bd0
add esp, 8
mov ecx, dword [edi + 0xc]
push 0xffffffffffffffff
lea eax, [edi + 0x5b4]
push eax
push 0
push 0x41555448
push ecx
call fcn.008521b0
add esp, 0x14
xor esi, esi
cmp ebp, esi
jge 0x8496ed
mov edx, 2
mov eax, edi
call fcn.00846d00
cmp dword [edi + 0x1a8], esi
jne 0x8496ed
mov dword [edi + 0x8e8], esi
mov eax, dword [edi + 8]
push eax
call dword [eax + 0xc]
add esp, 4
mov dword [edi + 8], esi
mov eax, dword [edi + 0x14]
cmp eax, esi
mov ebx, 3
je 0x849766
cmp dword [esp + 0x28], eax
jbe 0x849766
mov eax, dword [edi + 0x10]
cmp eax, 7
jne 0x849721
push 1
push edi
call fcn.00849530
add esp, 8
jmp 0x849766
cmp eax, ebx
je 0x849758
mov eax, dword [edi + 0x8e8]
cmp eax, esi
mov dword [edi + 0x10], ebx
je 0x849758
mov edx, dword [edi + 0x8e4]
push edx
lea ecx, [esp + 0x34]
push ecx
push edi
mov dword [esp + 0x3c], 0x636f6e6e
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], esi
call eax
add esp, 0xc
cmp dword [edi + 0x1a8], esi
jne 0x849766
mov dword [edi + 0x8e8], esi
mov eax, dword [edi + 0x10]
mov ebp, 5
cmp eax, ebp
jne 0x849804
mov eax, dword [edi + 0x4e0]
cmp eax, esi
je 0x84978b
cmp dword [esp + 0x28], eax
jb 0x84978b
call fcn.00846a70
cmp dword [edi + 0x10], ebp
jne 0x849804
xor eax, eax
lea ecx, [edi + 0x918]
cmp dword [ecx + 8], esi
je 0x8497a9
mov edx, dword [ecx]
cmp edx, esi
je 0x8497a9
cmp dword [esp + 0x28], edx
ja 0x8497b4
inc eax
add ecx, 0x14
cmp eax, 9
jl 0x849798
jmp 0x849804
lea edx, [eax + eax*4]
mov dword [edi + edx*4 + 0x918], esi
mov eax, dword [edi + 0xc]
push eax
call fcn.00851aa0
mov eax, dword [edi + 0x10]
add esp, 4
cmp eax, ebx
je 0x849804
mov eax, dword [edi + 0x8e8]
cmp eax, esi
mov dword [edi + 0x10], ebx
je 0x849804
mov ecx, dword [edi + 0x8e4]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
mov dword [esp + 0x3c], 0x636f6e6e
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], esi
call eax
add esp, 0xc
mov eax, dword [edi + 0x10]
cmp eax, 6
je 0x849814
cmp eax, ebx
jne 0x8498c8
lea esi, [edi + 0x920]
mov ebx, 9
mov ebp, 0xfffffffc
mov eax, dword [esi]
test eax, eax
je 0x84984a
mov ecx, dword [esi - 0x10]
mov edx, dword [esi - 4]
mov dword [esp + 0x10], ecx
push edx
lea ecx, [esp + 0x14]
push ecx
push edi
mov dword [esp + 0x24], ebp
call eax
add esp, 0xc
mov dword [esi], 0
add esi, 0x14
dec ebx
jne 0x849824
cmp dword [edi + 0x10], 3
jne 0x8498c8
mov eax, dword [edi + 0x1a8]
test eax, eax
je 0x8498c8
mov ecx, dword [edi + 0x1ac]
mov eax, ecx
imul ecx, ecx, 0x19660d
and eax, 0xffff
xor edx, edx
mov esi, 0x55
div esi
mov eax, dword [edi + 0x8e8]
add ecx, 0x3c6ef35f
mov dword [edi + 0x1ac], ecx
lea ecx, [edi + 0x128]
mov esi, edx
mov edx, dword [edi + 0x8e4]
push edx
push eax
mov eax, dword [edi + 0xa4]
push ecx
lea edx, [edi + 0xa8]
push edx
cdq
sub eax, edx
sar eax, 1
add esi, 0xf
add eax, esi
push eax
mov eax, dword [edi + 0x18]
push eax
lea ecx, [edi + 0x24]
push ecx
push edi
call fcn.00849200
add esp, 0x20
lea edx, [esp + 0x2c]
push edx
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.008522d0
add esp, 0x10
xor ebx, ebx
test eax, eax
jl 0x84a6a7
mov ebp, 7
jmp 0x849900
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], 0x52454356
jne 0x84992d
cmp dword [edi + 0x8d4], ebx
je 0x84a639
push edi
lea ebx, [esp + 0x14]
call fcn.008464a0
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x14], 0x53454e44
jne 0x849965
mov eax, dword [edi + 0x948]
cmp eax, ebx
je 0x84a639
mov ecx, dword [edi + 0x944]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x1c], 0x73656e64
call eax
add esp, 0xc
mov dword [edi + 0x948], ebx
cmp dword [esp + 0x14], 0x42524443
jne 0x84999d
mov eax, dword [edi + 0x970]
cmp eax, ebx
je 0x84a639
mov ecx, dword [edi + 0x96c]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x1c], 0x62726463
call eax
add esp, 0xc
mov dword [edi + 0x970], ebx
mov eax, dword [esp + 0x14]
or esi, 0xffffffff
cmp eax, esi
jne 0x849a08
cmp dword [esp + 0x18], esi
jne 0x849a38
mov eax, dword [edi + 0x10]
mov ecx, 5
cmp eax, ecx
je 0x84a639
mov eax, dword [edi + 0x8e8]
cmp eax, ebx
mov dword [edi + 0x10], ecx
je 0x84a639
mov dword [esp + 0xb0], ecx
mov ecx, dword [edi + 0x8e4]
push ecx
lea edx, [esp + 0xb0]
push edx
push edi
mov dword [esp + 0xb8], 0x636f6e6e
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xcc], ebx
call eax
add esp, 0xc
cmp dword [esp + 0x14], 0x50494e47
jne 0x849a2e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0xc]
push esi
push eax
push ecx
push 0x50494e47
push edx
call fcn.008521b0
add esp, 0x14
cmp dword [esp + 0x14], esi
jne 0x849af3
cmp dword [esp + 0x18], 0xfefefefe
jne 0x84a639
mov esi, dword [edi + 0x10]
cmp esi, 6
je 0x849a98
mov eax, dword [edi + 0x8e8]
cmp eax, ebx
mov dword [edi + 0x10], 6
je 0x849a98
mov ecx, dword [edi + 0x8e4]
push ecx
lea edx, [esp + 0xe0]
push edx
push edi
mov dword [esp + 0xe8], 0x636f6e6e
mov dword [esp + 0xec], 6
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xfc], ebx
call eax
add esp, 0xc
cmp esi, 5
jne 0x849af3
cmp dword [edi + 0x1a8], ebx
je 0x849af3
mov ecx, dword [edi + 0x1ac]
mov eax, ecx
imul ecx, ecx, 0x19660d
and eax, 0xffff
xor edx, edx
mov esi, 0x55
div esi
mov eax, dword [edi + 0xc]
add ecx, 0x3c6ef35f
push eax
mov dword [edi + 0x1ac], ecx
mov esi, edx
add esi, 0xf
call fcn.00852430
imul esi, esi, 0x3e8
add eax, esi
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x10]
add esp, 4
cmp eax, ebp
je 0x849af3
mov dword [edi + 0x10], ebp
cmp dword [esp + 0x14], 0x41555448
jne 0x849bed
cmp dword [esp + 0x18], ebx
mov dword [edi + 0x14], ebx
je 0x849ba9
mov ecx, dword [edi + 0x8e4]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x1c], 0x61757468
call dword [edi + 0x8e8]
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, 0x6e657477
je 0x849b42
cmp eax, 0x62736f64
jne 0x849bed
push edi
call fcn.00848c80
mov eax, dword [edi + 0x1a8]
add esp, 4
cmp eax, ebx
je 0x849bed
mov ecx, dword [edi + 0x1ac]
mov eax, ecx
imul ecx, ecx, 0x19660d
and eax, 0xffff
xor edx, edx
mov esi, 0x55
div esi
mov eax, dword [edi + 0xc]
add ecx, 0x3c6ef35f
push eax
mov dword [edi + 0x1ac], ecx
mov esi, edx
add esi, 0xf
call fcn.00852430
imul esi, esi, 0x3e8
add eax, esi
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x10]
add esp, 4
cmp eax, ebp
je 0x849bed
mov dword [edi + 0x10], ebp
jmp 0x849bed
mov edx, dword [esp + 0x24]
push 0x890978
push 0x64
lea ecx, [edi + 0xd08]
push ecx
push str.TITL
push edx
call fcn.0083a670
add esp, 8
push eax
call fcn.0083b210
mov eax, dword [edi + 0x8e4]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x2c], 0x61757468
call dword [edi + 0x8e8]
add esp, 0x1c
cmp dword [esp + 0x14], 0x41444d4e
jne 0x849cad
mov eax, dword [esp + 0x24]
push 0x890978
push 0x1f
lea edx, [esp + 0xfc]
push edx
push str.TYPE
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083b210
lea ecx, [esp + 0x104]
push str.DUPL
push ecx
call fcn.00846110
add esp, 0x18
test eax, eax
jne 0x849c89
mov eax, dword [edi + 0x10]
mov ecx, 6
cmp eax, ecx
je 0x849c89
mov eax, dword [edi + 0x8e8]
cmp eax, ebx
mov dword [edi + 0x10], ecx
je 0x849c89
mov edx, dword [edi + 0x8e4]
mov dword [esp + 0xc8], ecx
push edx
lea ecx, [esp + 0xc8]
push ecx
push edi
mov dword [esp + 0xd0], 0x636f6e6e
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xe4], ebx
call eax
add esp, 0xc
mov eax, dword [edi + 0x8d4]
cmp eax, ebx
je 0x849cad
mov edx, dword [edi + 0x8d0]
push edx
lea ecx, [esp + 0x14]
push ecx
push edi
mov dword [esp + 0x1c], 0x61646d6e
call eax
add esp, 0xc
cmp dword [esp + 0x14], 0x52474554
jne 0x849d08
mov edx, dword [esp + 0x24]
push ebx
push 0x8c6cf4
push edx
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
add esp, 8
cmp eax, 2
jne 0x849d08
mov eax, dword [esp + 0x24]
push ebx
push str.SIZE
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
add esp, 8
cmp eax, ebx
mov dword [edi + 0x8e0], eax
jne 0x849d08
mov dword [edi + 0xd04], 1
mov eax, dword [esp + 0x14]
cmp eax, 0x524f5354
jne 0x849d69
cmp dword [edi + 0x8cc], ebx
je 0x84a639
mov edx, dword [esp + 0x10]
sub esp, 0x18
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
push edi
mov dword [ecx + 0x14], edx
call fcn.00846dc0
add esp, 0x1c
cmp eax, 2
jne 0x849d69
dec dword [edi + 0x8e0]
jne 0x849d69
mov dword [edi + 0xd04], 1
mov eax, dword [esp + 0x14]
cmp eax, 0x524e4f54
jne 0x849dc8
cmp dword [edi + 0x8cc], ebx
je 0x84a639
mov edx, dword [esp + 0x10]
sub esp, 0x18
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
push edi
mov dword [ecx + 0x14], edx
call fcn.00848f80
add esp, 0x1c
test eax, eax
jne 0x849dc8
mov eax, dword [edi + 0x8cc]
push 1
push eax
call fcn.0083e460
add esp, 8
mov eax, dword [esp + 0x14]
cmp eax, 0x50474554
jne 0x849e12
cmp dword [edi + 0x8cc], ebx
je 0x84a639
mov edx, dword [esp + 0x10]
sub esp, 0x18
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
push edi
mov dword [ecx + 0x14], edx
call fcn.00847020
add esp, 0x1c
mov eax, dword [esp + 0x14]
cmp eax, 0x52414444
je 0x849e28
cmp eax, 0x5241444d
jne 0x84a0e1
cmp dword [edi + 0x8cc], ebx
je 0x84a0e1
mov eax, dword [esp + 0x24]
xor ebx, ebx
push ebx
push 0x8c6cf4
push eax
mov dword [esp + 0x1c], 0x61646475
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
mov ecx, dword [edi + 0x8cc]
push ebx
push ecx
mov ebp, eax
mov dword [edi + 0x918], ebx
call fcn.0083e3b0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x84a0c9
lea esp, [esp]
test dword [esi + 0xf8], 0x10000
je 0x849e94
cmp dword [esi + 0xfc], ebp
je 0x849eb0
mov edx, dword [edi + 0x8cc]
inc ebx
push ebx
push edx
call fcn.0083e3b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x849e80
jmp 0x84a0c9
and dword [esi + 0xf8], 0xfffeffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x849fc2
cmp eax, 0x626c636b
mov ebx, 1
jne 0x849edc
mov dword [esp + 0x18], 0
jmp 0x849ef1
xor ecx, ecx
cmp eax, 0x66756c6c
setne cl
dec ecx
and ecx, 0xfffffffd
add ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x14], 0x52414444
jne 0x849f27
mov eax, dword [esi + 0xf8]
test al, 4
ja 0x849f1a
test eax, 0x80000
ja 0x849f1a
test eax, 0x800000
ja 0x849f1a
test eax, 0x40000
jbe 0x849f59
xor ebx, ebx
and eax, 0xfffffdff
mov dword [esi + 0xf8], eax
cmp dword [esp + 0x14], 0x5241444d
jne 0x849f59
mov eax, dword [esi + 0xf8]
test eax, 0x200
ja 0x849f4c
test eax, 0x40000
ja 0x849f4c
test eax, 0x800000
jbe 0x849f59
xor ebx, ebx
and eax, 0xfff7ffff
mov dword [esi + 0xf8], eax
mov eax, dword [edi + 0x920]
test eax, eax
je 0x849f79
mov edx, dword [edi + 0x91c]
push edx
lea ecx, [esp + 0x14]
push ecx
push edi
mov dword [esp + 0x30], esi
call eax
add esp, 0xc
test ebx, ebx
je 0x84a0c9
mov edx, dword [edi + 0x8c8]
push esi
push edx
call fcn.00852eb0
push eax
mov eax, dword [edi + 0x8cc]
push eax
call fcn.0083e360
mov eax, dword [edi + 0x8ec]
add esp, 0x10
test eax, eax
je 0x849fb6
mov ecx, dword [edi + 0x8f0]
push ecx
push esi
push edi
call eax
add esp, 0xc
push esi
call dword [edi + 4]
add esp, 4
jmp 0x84a0c9
mov eax, dword [esp + 0x24]
push 0x890978
push 0x20
lea edx, [esp + 0xfc]
push edx
push str.FUSR
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083b210
lea ecx, [esp + 0x104]
push 0x40
push ecx
call fcn.007c97c0
xor ebp, ebp
add esp, 0x18
cmp eax, ebp
je 0x84a004
mov byte [eax], 0
lea edx, [esp + 0xf4]
push 0x2f
push edx
call fcn.007c97c0
add esp, 8
cmp eax, ebp
je 0x84a01d
mov byte [eax], 0
lea eax, [esp + 0xf4]
push 0x2e
push eax
call fcn.007c97c0
add esp, 8
cmp eax, ebp
je 0x84a036
mov byte [eax], 0
mov al, byte [esp + 0xf4]
test al, al
je 0x84a08e
lea eax, [esp + 0xf4]
lea edx, [eax + 1]
jmp 0x84a050
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x84a050
sub eax, edx
cmp eax, 0x21
jae 0x84a08e
mov ecx, dword [edi + 0x8c8]
push esi
push ecx
call fcn.00852eb0
lea edx, [esp + 0xfc]
push edx
push 0x21
push esi
mov ebx, eax
call fcn.0083a630
mov eax, dword [edi + 0x8c8]
push ebx
push esi
push eax
call fcn.00852da0
add esp, 0x20
mov eax, dword [edi + 0x920]
cmp eax, ebp
je 0x84a0b2
mov ecx, dword [edi + 0x91c]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], esi
call eax
add esp, 0xc
mov eax, dword [esi + 0xf8]
and eax, 0xfffeffff
mov dword [esi + 0xfc], ebp
mov dword [esi + 0xf8], eax
mov eax, dword [edi + 0x8cc]
push 1
push eax
call fcn.0083e460
add esp, 8
mov ebp, 7
xor ebx, ebx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x50414444
jne 0x84a115
cmp dword [edi + 0x920], ebx
je 0x84a639
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x84a10a
cmp byte [eax], 0
jne 0x84a639
mov dword [edi + 0x918], ebx
jmp 0x84a639
cmp ecx, 0x5044454c
jne 0x84a145
cmp dword [edi + 0x934], ebx
je 0x84a639
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x84a13a
cmp byte [eax], 0
jne 0x84a639
mov dword [edi + 0x92c], ebx
jmp 0x84a639
cmp ecx, 0x5244454c
je 0x84a159
cmp ecx, 0x5244454d
jne 0x84a1e8
mov edx, dword [esp + 0x1c]
mov eax, 0x64656c75
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
cmp dword [edi + 0x934], ebx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], eax
je 0x84a1e8
push ebx
push 0x8c6cf4
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
mov ecx, dword [edi + 0x928]
add esp, 8
cmp eax, ecx
jne 0x84a1e8
mov ecx, dword [edi + 0x930]
push ecx
lea edx, [esp + 0x80]
push edx
push edi
call dword [edi + 0x934]
add esp, 0xc
mov dword [edi + 0x934], ebx
mov dword [edi + 0x92c], ebx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x52525350
jne 0x84a28e
mov edx, dword [esp + 0x20]
mov eax, 0x696e7674
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa0], ecx
cmp dword [edi + 0x998], ebx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
je 0x84a639
push ebx
push 0x8c6cf4
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
mov ecx, dword [edi + 0x98c]
add esp, 8
cmp eax, ecx
jne 0x84a28e
mov eax, dword [edi + 0x994]
push eax
lea ecx, [esp + 0x98]
push ecx
push edi
call dword [edi + 0x998]
add esp, 0xc
mov dword [edi + 0x998], ebx
mov dword [edi + 0x990], ebx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x47525350
je 0x84a2a6
cmp ecx, 0x4752564b
jne 0x84a323
mov edx, dword [esp + 0x18]
mov eax, 0x67696e76
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
cmp dword [edi + 0x9ac], ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], eax
je 0x84a323
push ebx
push 0x8c6cf4
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
mov ecx, dword [edi + 0x9a0]
add esp, 8
cmp eax, ecx
jne 0x84a323
mov edx, dword [edi + 0x9a8]
push edx
lea eax, [esp + 0x50]
push eax
push edi
call dword [edi + 0x9ac]
add esp, 0xc
mov dword [edi + 0x9ac], ebx
mov dword [edi + 0x9a4], ebx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x47494e56
jne 0x84a3b4
mov edx, dword [esp + 0x1c]
mov eax, 0x67696e76
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
cmp dword [edi + 0x9c0], ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], eax
je 0x84a639
push ebx
push 0x8c6cf4
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
mov ecx, dword [edi + 0x9b4]
add esp, 8
cmp eax, ecx
jne 0x84a3b4
mov ecx, dword [edi + 0x9bc]
push ecx
lea edx, [esp + 0x68]
push edx
push edi
call dword [edi + 0x9c0]
add esp, 0xc
mov dword [edi + 0x9c0], ebx
mov dword [edi + 0x9b8], ebx
mov eax, dword [esp + 0x14]
cmp eax, 0x474e4f54
jne 0x84a40b
mov edx, dword [esp + 0x10]
sub esp, 0x18
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
push edi
mov dword [ecx + 0x14], edx
call fcn.00848d60
add esp, 0x1c
test eax, eax
jne 0x84a40b
mov eax, dword [edi + 0x8cc]
cmp eax, ebx
je 0x84a40b
push 1
push eax
call fcn.0083e460
add esp, 8
mov ecx, dword [esp + 0x14]
cmp ecx, 0x45505354
jne 0x84a49c
mov edx, dword [esp + 0x20]
mov eax, 0x65707374
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
cmp dword [edi + 0x984], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
je 0x84a639
push ebx
push 0x8c6cf4
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
mov ecx, dword [edi + 0x978]
add esp, 8
cmp eax, ecx
jne 0x84a49c
mov eax, dword [edi + 0x980]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [edi + 0x984]
add esp, 0xc
mov dword [edi + 0x984], ebx
mov dword [edi + 0x97c], ebx
cmp dword [esp + 0x14], 0x45504754
jne 0x84a55d
mov edx, dword [esp + 0x24]
push ebx
push 0x8c6cf4
push edx
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
add esp, 8
cmp eax, 4
jne 0x84a55d
cmp dword [esp + 0x18], ebx
jne 0x84a55d
mov eax, dword [edi + 0x8c4]
mov ecx, dword [esp + 0x24]
and eax, 0xfffffeff
push 0x890978
mov dword [edi + 0x8c4], eax
push 0xff
lea eax, [edi + 0x6c4]
push eax
push str.ADDR
push ecx
call fcn.0083a670
add esp, 8
push eax
call fcn.0083b210
mov eax, dword [esp + 0x34]
add esp, 0x10
push 0x890978
push 0x64
lea edx, [esp + 0x11c]
push edx
push str.ENAB
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083b210
lea ecx, [esp + 0x124]
push 0x8b7108
push ecx
call fcn.00846110
add esp, 0x18
test eax, eax
jne 0x84a55d
or dword [edi + 0x8c4], 1
cmp dword [esp + 0x14], 0x55534348
jne 0x84a5f1
mov edx, dword [esp + 0x24]
push ebx
push 0x8c6cf4
push edx
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
add esp, 8
cmp eax, 3
jne 0x84a5f1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x84a5cf
cmp eax, 0x73757372
jne 0x84a5a3
mov dword [edi + 0x9cc], ebx
jmp 0x84a5f1
mov eax, dword [edi + 0x95c]
cmp eax, ebx
mov dword [esp + 0x10], 0x75736572
je 0x84a5c7
mov ecx, dword [edi + 0x958]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call eax
add esp, 0xc
mov dword [edi + 0x95c], ebx
jmp 0x84a5f1
mov eax, dword [esp + 0x24]
push ebx
push str.SIZE
push eax
call fcn.0083a670
add esp, 8
push eax
call fcn.0083abc0
add esp, 8
mov dword [edi + 0x9cc], eax
mov eax, dword [esp + 0x14]
cmp eax, 0x55534552
jne 0x84a639
mov edx, dword [esp + 0x10]
sub esp, 0x18
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
push edi
mov dword [ecx + 0x14], edx
call fcn.00847580
add esp, 0x1c
test eax, eax
jne 0x84a639
dec dword [edi + 0x9cc]
cmp dword [edi + 0x9cc], ebx
jne 0x84a677
mov eax, dword [edi + 0x95c]
cmp eax, ebx
je 0x84a677
mov ecx, dword [edi + 0x958]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x1c], 0x75736572
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
call eax
add esp, 0xc
mov dword [edi + 0x95c], ebx
mov eax, dword [edi + 0xc]
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.00852390
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.008522d0
add esp, 0x24
test eax, eax
jge 0x849900
cmp dword [edi + 0xd04], ebx
je 0x84a6ca
cmp dword [esp + 0x48], ebx
jne 0x84a6ca
mov eax, dword [edi + 0x8cc]
cmp eax, ebx
je 0x84a6ca
push 1
push eax
call fcn.0083e460
add esp, 8
cmp dword [edi + 0x8dc], ebx
je 0x84a715
mov edx, dword [edi + 0x8cc]
push edx
call fcn.0083e480
add esp, 4
test eax, eax
jle 0x84a715
mov ecx, dword [edi + 0x8d8]
mov eax, dword [edi + 0x8cc]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x1c], 0x726f7374
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], eax
call dword [edi + 0x8dc]
add esp, 0xc
mov ecx, dword [esp + 0x178]
mov eax, dword [esp + 0x28]
call fcn.007d6cb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret