Function at 0x614e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xac
mov edi, ecx
mov eax, dword [esp + 0xc0]
mov ecx, dword [edi]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x7c], 0
lea ecx, [eax + 0x14]
lea eax, [eax + 0xc]
cmp dword [esp + 0xc4], 0
mov dword [esp + 0x40], eax
cmove ecx, eax
mov dword [esp + 0x6c], ecx
mov eax, dword [edi + 0x74]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x54], ecx
mov ecx, dword [edi + 0xb0]
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x58], ecx
mov ecx, dword [edi + 0xd4]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0xd8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 0xe0]
mov dword [esp + 0x60], ecx
mov dword [edi + 0x18], 0
movzx ecx, word [edx]
mov ebx, ecx
and ebx, 0xfffe
cmp ebx, 0x92
mov bp, 0x83
cmove bp, cx
lea esi, [edx + 2]
cmovne esi, edx
mov ecx, esi
sub ecx, dword [edi + 4]
mov ebx, dword [eax + ecx*2]
sub esp, 4
lea eax, [esp + 0x84]
mov dword [esp + 0x3c], edi
mov ecx, edi
mov edi, dword [esp + 0xa8]
mov edx, esi
push eax
push 0
push 0
call fcn.0061a5e0
add esp, 0x10
mov ecx, dword [esp + 0xc0]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], ebx
movzx ecx, word [esi]
mov dword [esp + 0x70], ecx
or ecx, 2
cmp ecx, 0x7f
lea ecx, [esp + 0x7c]
cmovne ecx, dword [esp + 0x6c]
mov dword [esp + 0x9c], ecx
movzx ecx, word [esi + 2]
mov dword [esp + 8], ecx
movzx ecx, bp
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ecx
cmp ecx, 0x93
mov dword [esp + 0x14], eax
jne 0x6150bb
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f26a0
add esp, 0x10
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x614fb6
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.005fdd90
add esp, 0x10
mov dword [esp + 0x28], 0
cmp dword [edi], 0
mov eax, dword [esp + 0x14]
jne 0x6150bb
mov edx, 0x11
mov ecx, edi
push 0
push 0xc
push 0
push 0x40
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x614fea
or byte [eax + 1], 0x38
mov dword [esp + 0x28], 0
cmp dword [edi], 0
mov eax, dword [esp + 0x14]
jne 0x6150bb
mov ebp, ebx
mov ebx, dword [edi + 0x30]
mov ecx, dword [ebx + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x61501b
lea eax, [ebx + ecx + 8]
mov dword [ebx + 4], edx
jmp 0x615046
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x615353
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov dword [edi + 0x30], eax
mov dword [eax + 4], 0x10
add eax, 8
mov ebx, ebp
mov dword [eax], 0
mov dword [eax + 8], 0
mov edx, dword [edi + 0x1c]
lea ecx, [edi + 0xc]
test edx, edx
cmovne ecx, edx
mov dword [ecx], eax
mov dword [esp + 0x28], eax
mov dword [edi + 0x1c], eax
add dword [edi + 0x48], 6
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x615087
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x6150b2
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x61558b
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
test eax, eax
mov dword [esp + 0x78], esi
js 0x61517b
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
cmp ecx, 1
mov ecx, 3
sbb ecx, 0
mov dword [esp + 0x10], ecx
lea eax, [ecx + eax]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x38]
mov ebx, dword [esi]
xor ebp, ebp
cmp dword [ebx], 0
jne 0x615374
mov eax, dword [esp + 0x1c]
lea eax, [eax*4]
mov edx, 0x11
mov ecx, ebx
push 0
push 2
push eax
push 0x40
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x615126
or byte [eax + 1], 0x28
xor ebp, ebp
cmp dword [ebx], 0
jne 0x615374
mov edx, 1
mov ecx, ebx
push 0
push 0xa
push 0
push 2
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x61514f
mov byte [eax], 0x3b
xor ebp, ebp
cmp dword [ebx], 0
jne 0x615374
mov ebp, dword [ebx + 0x30]
mov ecx, dword [ebp + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x6152b7
lea eax, [ebp + ecx + 8]
mov dword [ebp + 4], edx
jmp 0x6152e2
mov ecx, 1
cmp dword [esp + 0x24], 0x83
mov ebp, dword [esp + 0x38]
jne 0x6151e0
lea eax, [esi + 4]
mov ecx, 0x1e000030
jmp 0x6151aa
movzx edx, byte [edx + 0x6f5d38]
lea eax, [eax + edx*2]
movzx edx, word [eax]
cmp edx, 0x1c
ja 0x6151c0
bt ecx, edx
jb 0x6151a0
nop word [eax + eax]
lea ebx, [edx - 0x76]
movzx ebx, bx
cmp ebx, 2
jb 0x6151a0
movzx eax, dx
cmp eax, 0x78
jne 0x6151d7
xor ecx, ecx
jmp 0x6151dc
mov ecx, 1
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x80]
lea esi, [ecx + 1]
mov dword [esp + 0x18], edx
test edx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], ecx
cmove esi, ecx
cmp eax, 0xffffffff
jne 0x61521c
mov edx, 0x20
mov ecx, edi
push 0
push 2
push dword [esp + 0x14]
push 0x8d
call fcn.005f26a0
add esp, 0x10
mov eax, esi
mov dword [esp + 0x1c], eax
test esi, esi
mov esi, ebp
je 0x6156ab
mov ebx, dword [esi]
xor ebp, ebp
cmp dword [ebx], 0
jne 0x61563a
mov eax, dword [esp + 0x1c]
lea eax, [eax*4]
mov edx, 0x11
mov ecx, ebx
push 0
push 2
push eax
push 0x40
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x615262
or byte [eax + 1], 0x28
xor ebp, ebp
cmp dword [ebx], 0
jne 0x61563a
mov edx, 1
mov ecx, ebx
push 0
push 0xa
push 0
push 2
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x61528b
mov byte [eax], 0x3b
xor ebp, ebp
cmp dword [ebx], 0
jne 0x61563a
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x61559e
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x6155c8
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x61536c
mov ecx, dword [ebx + 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x30], eax
mov dword [eax + 4], 0x10
add eax, 8
mov dword [eax], 0
mov dword [eax + 8], 0x4000
mov edx, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test edx, edx
cmovne ecx, edx
mov dword [ecx], eax
mov dword [esp + 0x20], eax
mov dword [ebx + 0x1c], eax
add dword [ebx + 0x48], 6
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x615321
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x615348
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x61536c
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
mov dword [ebx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov ebp, dword [esp + 0x20]
jmp 0x615374
mov dword [edi], 2
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
mov ebx, ebp
jmp 0x6150bb
mov dword [ebx], 2
xor ebp, ebp
mov ebx, dword [esi]
cmp dword [ebx], 0
jne 0x6153e3
mov esi, dword [ebx + 0x30]
mov ecx, dword [esi + 4]
lea edx, [ecx + 0xc]
cmp edx, 0x7f8
ja 0x615395
lea eax, [esi + ecx + 8]
mov dword [esi + 4], edx
jmp 0x6153c0
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x61547d
mov ecx, dword [ebx + 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x30], eax
mov dword [eax + 4], 0xc
add eax, 8
mov dword [eax], ebp
mov esi, eax
mov ecx, ebx
call fcn.005f3660
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0xc0]
mov dword [esi + 8], eax
mov dword [ecx + 0xc0], esi
mov esi, ecx
mov edx, 0x20
mov ecx, edi
mov ebx, dword [esp + 0xc]
push ebx
push 0x8d
push 0
push 1
call fcn.005f26a0
add esp, 0x10
cmp dword [edi], 0
jne 0x615495
mov eax, dword [esp + 0x1c]
lea ebp, [eax*4]
mov edx, 1
mov ecx, edi
push ebp
push 0x82
push 0
push 3
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x61543a
mov byte [eax], 0x8d
mov ebx, dword [esp + 0xc]
jmp 0x615495
cmp dword [edi], 4
mov ebx, dword [esp + 0xc]
jne 0x615495
mov edx, 1
mov ecx, edi
push 0
push 3
push 0
push 2
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x61548c
mov byte [eax], 0x89
mov ebx, dword [esp + 0xc]
mov edx, 0x11
mov ecx, edi
push 0
push 3
push ebp
push 0x40
call fcn.005fdd90
add esp, 0x10
jmp 0x615495
mov dword [ebx], 2
mov esi, dword [esp + 0x38]
jmp 0x6153e3
cmp dword [edi], 0
mov ebx, dword [esp + 0xc]
je 0x615465
mov edx, 0x20
mov ecx, edi
push 0
push 3
push ebx
push 0x8d
call fcn.005f26a0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x615533
mov edx, 0x20
mov ecx, edi
push dword [esi + 0x40]
push 0x8d
push 0
push 3
call fcn.005f26a0
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0xc
push 0
push 0x82
call fcn.005f26a0
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push 8
push 0x82
call fcn.005f26a0
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 3
push 4
push 0x82
call fcn.005f26a0
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push dword [esi + 0x40]
push 0x8d
jmp 0x61555f
mov edx, 0x20
mov ecx, edi
push 0
push 0xc
push 0
push 0x82
call fcn.005f26a0
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push 4
push 0x82
call fcn.005f26a0
add esp, 0x10
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
dec ebp
sub esp, 4
mov ecx, esi
mov edx, dword [esp + 0x7c]
push 0
push ebp
push 0
call fcn.0061aa70
add esp, 0x10
jmp 0x61573c
mov dword [edi], 2
mov dword [esp + 0x28], 0
jmp 0x6150b7
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x615632
mov eax, dword [ebx + 0x30]
mov dword [ebp], eax
mov dword [ebx + 0x30], ebp
mov dword [ebp + 4], 0x10
add ebp, 8
mov dword [ebp], 0
mov dword [ebp + 8], 0x4000
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebp
mov dword [ebx + 0x1c], ebp
add dword [ebx + 0x48], 6
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x615604
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x61562b
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x615632
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
mov dword [ebx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
jmp 0x61563a
mov dword [ebx], 2
xor ebp, ebp
mov ebx, dword [esi]
cmp dword [ebx], 0
jne 0x6156ab
mov dword [esp + 0x2c], ebp
mov ebp, dword [ebx + 0x30]
mov ecx, dword [ebp + 4]
lea edx, [ecx + 0xc]
cmp edx, 0x7f8
ja 0x61565f
lea eax, [ebp + ecx + 8]
mov dword [ebp + 4], edx
jmp 0x61568a
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x6161e3
mov ecx, dword [ebx + 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x30], eax
mov dword [eax + 4], 0xc
add eax, 8
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ebp, eax
mov ecx, ebx
call fcn.005f3660
mov dword [ebp + 4], eax
mov eax, dword [esi + 0xc0]
mov dword [ebp + 8], eax
mov dword [esi + 0xc0], ebp
cmp dword [esp + 0x18], 0
je 0x6156cd
mov edx, 0x20
mov ecx, edi
push dword [esi + 0x40]
push 0x8d
push 0
push 1
call fcn.005f26a0
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x6156ee
mov edx, 0x20
mov ecx, edi
push 0
push 0xc
push 0
push 0x82
call fcn.005f26a0
add esp, 0x10
cmp dword [esp + 0x18], 0
mov ebx, dword [esp + 0x10]
je 0x615734
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push dword [esi + 0x40]
push 0x8d
call fcn.005f26a0
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push 4
push 0x82
call fcn.005f26a0
add esp, 0x10
mov ebx, dword [esp + 0x20]
jmp 0x61573c
mov dword [esp + 0x18], 0
mov eax, ebx
neg eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
movzx ecx, word [esp + 0x70]
cmp ecx, 0x80
je 0x615792
mov eax, 1
cmp ecx, 0x7e
jne 0x6157af
mov dword [esi + 0x74], 1
mov dword [esi + 0xb0], 0
mov dword [esi + 0xd4], 0
xor eax, eax
cmp dword [esp + 0xc4], 0
mov edx, ecx
setne byte [esp + 0x10]
mov dword [esi + 0x78], eax
cmp dword [esp + 0x18], 0
sete al
shl al, 2
movzx eax, al
or eax, 0xfffffff8
mov dword [esp + 0x3c], eax
shl dword [esp + 0x64], 2
mov eax, dword [esp + 0x14]
lea ebp, [eax*4]
mov dword [esp + 0x98], ebp
xor ebp, 0xfffffffc
mov dword [esp + 0x68], ebp
mov ecx, esi
lea esi, [ebx + eax]
mov ebp, esi
mov dword [esp + 0x34], ebp
mov esi, ecx
neg ebp
shl ebp, 2
mov dword [esp + 0xa0], ebp
mov ecx, 0xfffffffe
sub ecx, eax
shl ecx, 2
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x1c], edx
cmp edx, 0x80
setne cl
or cl, byte [esp + 0x10]
mov byte [esp + 0x2c], cl
mov ecx, ebx
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 8]
lea ebx, [ebp + edx*2]
mov dword [esi + 0xd8], 0
mov dword [esp + 0x10], ecx
lea ecx, [ecx*4]
mov dword [esp + 0x30], ecx
lea ecx, [edi + 0x30]
mov dword [esp + 8], ecx
lea ecx, [edi + 0xc]
mov dword [esp + 0x20], ecx
lea eax, [eax*4 + 4]
mov dword [esp + 0x74], eax
movzx eax, word [ebp]
jmp 0x615a6d
movzx eax, word [ebx]
cmp eax, 0x77
je 0x615a60
jmp 0x615f14
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x6158bd
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x6158ed
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x6159b8
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], ebp
mov dword [ebp + 4], 0x10
add ebp, 8
mov dword [ebp], 0
mov dword [ebp + 8], 0x30000
mov eax, dword [edi + 0x1c]
test eax, eax
cmove eax, dword [esp + 0x20]
mov dword [eax], ebp
mov dword [edi + 0x1c], ebp
add dword [edi + 0x48], 5
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x615928
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x61594f
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x6159b8
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
cmp dword [edi], 0
jne 0x615e67
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
ja 0x61597a
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x6159a3
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x6159b8
mov edx, dword [esp + 8]
mov ecx, dword [edx]
mov dword [eax], ecx
mov dword [edx], eax
mov dword [eax + 4], 8
add eax, 8
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov dword [eax], ebp
mov dword [edx], eax
jmp 0x615e67
mov dword [edi], 2
jmp 0x615e67
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x615a54
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
cmp dword [edi], 0
jne 0x615cb3
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
ja 0x615a15
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x615a3e
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x615a54
mov edx, dword [esp + 8]
mov ecx, dword [edx]
mov dword [eax], ecx
mov dword [edx], eax
mov dword [eax + 4], 8
add eax, 8
mov ecx, dword [esi + 0xec]
mov dword [eax + 4], ecx
mov dword [eax], ebp
mov dword [esi + 0xec], eax
jmp 0x615cb3
mov dword [edi], 2
jmp 0x615cb3
movzx eax, word [ebx + 2]
mov ebp, ebx
lea ebx, [ebx + eax*2]
mov ax, 0x77
cmp dword [esp + 0x10], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xe0], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
jle 0x615ac0
movzx eax, ax
cmp eax, 0x77
jne 0x615ac0
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f26a0
add esp, 0x10
mov dword [esp + 0x94], ebp
add ebp, 4
sub esp, 8
mov ecx, esi
mov edx, ebp
lea eax, [esp + 0x8c]
push eax
push ebx
call fcn.005f3740
add esp, 0x10
cmp dword [edi], 0
jne 0x615eb6
mov ecx, edi
call fcn.005f3660
mov dword [esi + 0xb8], eax
mov ecx, dword [esi + 0xe0]
test ecx, ecx
je 0x615b30
nop word cs:[eax + eax]
test eax, eax
je 0x615b29
mov edx, dword [ecx]
test edx, edx
je 0x615b29
mov ebp, dword [edx + 8]
and ebp, 0xfffffffc
or ebp, 1
mov dword [edx + 8], ebp
mov dword [edx + 0xc], eax
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x615b10
mov eax, dword [esp + 0x14]
test eax, eax
js 0x615b70
cmp dword [esp + 0x1c], 0x7e
jne 0x615bb0
cmp dword [esp + 0xc4], 0
je 0x615bb7
cmp dword [edi], 0
je 0x615c65
cmp dword [esp + 0x18], 0
jne 0x615c95
jmp 0x615cb3
cmp eax, 0xffffffff
je 0x615c2a
cmp dword [esp + 0x10], 0
jle 0x615c46
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x615c46
mov edx, 0x11
push 0
push 2
push dword [esp + 0x38]
push 0x40
call fcn.005fdd90
jmp 0x615c43
cmp byte [esp + 0x2c], 0
jne 0x615b49
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xc]
push 0x8d
push 0
push 2
call fcn.005f26a0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x615bfd
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xa8]
push 0x82
push dword [esi + 0x40]
push 0x8d
call fcn.005f26a0
add esp, 0x10
cmp dword [edi], 0
jne 0x615cb3
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x615d92
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x615dc2
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xc]
push 0x8d
push 0
push 2
call fcn.005f26a0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x615cb3
mov edx, 0x20
mov ecx, edi
push 0xfffffffffffffffc
push 0x82
push dword [esi + 0x40]
push 0x8d
jmp 0x615cab
mov eax, dword [edi + 0x58]
add eax, dword [esp + 0xc]
sub esp, 8
mov edx, 0x2d2b2928
mov ecx, edi
push dword [esp + 0x7c]
push 0x40
push eax
push 0x8d
push 0
push 2
call fcn.005fda10
add esp, 0x20
cmp dword [esp + 0x18], 0
je 0x615cb3
mov edx, 0x20
mov ecx, edi
push 0xfffffffffffffffc
push 0x82
push dword [esi + 0x40]
push 0x8d
call fcn.005f26a0
add esp, 0x10
mov eax, dword [esp + 0x1c]
cmp eax, 0x80
je 0x615cc7
cmp eax, 0x7e
jne 0x615e5e
cmp dword [esp + 0xc4], 0
je 0x615d00
cmp dword [esp + 0x10], 0
jle 0x615e5e
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x3c]
push 0x82
push 0
push 0xc
jmp 0x615e56
cmp dword [esp + 0x24], 0x92
jne 0x615d69
cmp dword [esp + 0x14], 0
js 0x615e04
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x68]
push 0x82
push 0
push 1
call fcn.005f26a0
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xa0]
push 0x82
push 0
push 0xc
call fcn.005f26a0
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push dword [esp + 0x14]
push 0x8d
jmp 0x615e18
cmp dword [esp + 0x14], 0
js 0x615e5e
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x68]
push 0x82
push dword [esp + 0x14]
push 0x8d
jmp 0x615e56
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x615a54
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], ebp
mov dword [ebp + 4], 0x10
add ebp, 8
mov dword [ebp], 0
mov dword [ebp + 8], 0x32000
mov eax, dword [edi + 0x1c]
test eax, eax
cmove eax, dword [esp + 0x20]
mov dword [eax], ebp
mov dword [edi + 0x1c], ebp
add dword [edi + 0x48], 5
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x6159c3
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x6159ea
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x64]
push 0x82
push 0
push 0xc
call fcn.005f26a0
add esp, 0x10
cmp dword [edi], 0
jne 0x615e44
mov edx, 0x11
mov ecx, edi
push 0
push 2
push 4
push 0x40
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x615e44
or byte [eax + 1], 0x28
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f26a0
add esp, 0x10
cmp dword [edi], 0
je 0x6158a0
mov edx, dword [esp + 0x8c]
mov ecx, esi
call fcn.005f8fb0
cmp dword [edi], 0
jne 0x615eb6
mov ebp, dword [esp + 0x90]
mov ecx, edi
call fcn.005f3660
test ebp, ebp
je 0x615880
test eax, eax
je 0x615eaa
mov ecx, dword [ebp]
test ecx, ecx
je 0x615eaa
mov edx, dword [ecx + 8]
and edx, 0xfffffffc
or edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x615e90
jmp 0x615880
mov eax, dword [esp + 0x1c]
cmp eax, 0x80
je 0x615ec6
cmp eax, 0x7e
jne 0x615ee1
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xd8], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0xe0], eax
xor ebx, ebx
jmp 0x616e1b
mov eax, dword [esp + 0x1c]
cmp eax, 0x80
je 0x615f24
cmp eax, 0x7e
jne 0x615f32
mov eax, dword [esi + 0xd4]
mov dword [esi + 0xd8], eax
jmp 0x615f38
mov eax, dword [esi + 0xd8]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x61626a
xor eax, eax
cmp dword [edi], 0
jne 0x61600f
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x615f6e
lea ecx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov eax, ecx
jmp 0x615f9b
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616007
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [ecx], eax
mov dword [eax + 4], 0x10
add eax, 8
mov dword [eax], 0
mov dword [eax + 8], 0x30000
mov ecx, dword [edi + 0x1c]
test ecx, ecx
cmove ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov ebp, eax
mov dword [edi + 0x1c], eax
add dword [edi + 0x48], 5
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x615fd7
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x615ffe
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616007
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, ebp
jmp 0x61600f
mov dword [edi], 2
xor eax, eax
mov dword [esp + 0x2c], eax
mov ebp, dword [esi + 0xd8]
mov ecx, edi
call fcn.005f3660
test ebp, ebp
je 0x616051
nop word cs:[eax + eax]
test eax, eax
je 0x61604a
mov ecx, dword [ebp]
test ecx, ecx
je 0x61604a
mov edx, dword [ecx + 8]
and edx, 0xfffffffc
or edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x616030
cmp dword [esp + 0x14], 0
js 0x61609e
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xc]
push 0x8d
push 0
push 2
call fcn.005f26a0
add esp, 0x10
cmp dword [edi], 0
mov ebp, dword [esp + 0x24]
jne 0x616248
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x6160d9
lea ecx, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x61610a
cmp dword [edi], 0
mov ebp, dword [esp + 0x24]
jne 0x616248
mov eax, dword [edi + 0x58]
add eax, dword [esp + 0xc]
sub esp, 8
mov edx, 0x2d2b2928
mov ecx, edi
push dword [esp + 0x38]
push 0x40
push eax
push 0x8d
push 0
push 2
call fcn.005fda10
add esp, 0x20
jmp 0x616248
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616242
mov edx, eax
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov dword [edx], eax
mov dword [ecx], edx
mov ecx, edx
mov dword [ecx + 4], 0x10
add ecx, 8
mov dword [ecx], 0
mov dword [ecx + 8], 0x32000
mov eax, dword [edi + 0x1c]
test eax, eax
cmove eax, dword [esp + 0x20]
mov dword [eax], ecx
mov dword [esp + 0x3c], ecx
mov dword [edi + 0x1c], ecx
add dword [edi + 0x48], 5
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x616148
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616173
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616242
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
cmp dword [edi], 0
jne 0x616248
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 8]
cmp edx, 0x7f8
ja 0x6161f9
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xec]
mov dword [eax + ecx + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx + 8], edx
mov dword [esi + 0xec], ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
lea eax, [eax*4]
mov edx, 0x11
mov ecx, edi
push 0
push 2
push eax
push 0x40
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x616248
or byte [eax + 1], 0x28
jmp 0x616248
mov dword [ebx], 2
cmp dword [esp + 0x18], 0
jne 0x6156b2
jmp 0x6156cd
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616242
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov dword [edi + 0x30], eax
mov dword [eax + 4], 8
mov ecx, eax
add ecx, 8
mov edx, dword [esi + 0xec]
cmp dword [edi], 0
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov dword [esi + 0xec], ecx
jne 0x616248
jmp 0x6161b8
mov dword [edi], 2
mov ecx, edi
call fcn.005f3660
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x61626a
test eax, eax
je 0x61626a
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
cmp dword [esp + 0x18], 0
je 0x61628f
mov edx, 0x20
mov ecx, edi
push 4
push 0x82
push dword [esi + 0x40]
push 0x8d
call fcn.005f26a0
add esp, 0x10
mov eax, dword [esp + 0x70]
or eax, 2
movzx eax, ax
cmp eax, 0x7f
jne 0x616343
cmp dword [esp + 0x10], 0
setg al
cmp dword [esp + 0xc4], 0
setne cl
cmp ebp, 0x92
je 0x6163bd
and cl, al
jne 0x6163bd
cmp dword [esp + 0x14], 0
js 0x6163e2
mov eax, dword [esp + 0x30]
add eax, 0xfffffffc
mov edx, 0x20
mov ecx, edi
push eax
push 0x82
push 0
push 1
call fcn.005f26a0
add esp, 0x10
cmp ebp, 0x92
mov ecx, dword [esi]
mov eax, dword [ecx]
jne 0x616425
test eax, eax
jne 0x616327
mov eax, dword [esp + 0x34]
lea eax, [eax*4 - 4]
mov edx, 0x11
push 0
push 2
push eax
push 0x40
call fcn.005fdd90
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f26a0
jmp 0x616441
cmp dword [esp + 0x14], 0
js 0x616491
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f26a0
add esp, 0x10
mov eax, dword [esp + 0x30]
add eax, 0xfffffffc
mov edx, 0x20
mov ecx, edi
push eax
push 0x82
push 0
push 1
call fcn.005f26a0
add esp, 0x10
cmp ebp, 0x83
mov ecx, dword [esi]
mov eax, dword [ecx]
jne 0x61658a
test eax, eax
jne 0x6165c7
mov eax, dword [esp + 0x34]
shl eax, 2
mov edx, 0x11
push 0
push 2
push eax
push 0x40
call fcn.005fdd90
jmp 0x6165c4
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f26a0
add esp, 0x10
cmp dword [esp + 0x14], 0
jns 0x6162d4
cmp ebp, 0x92
jne 0x6164f0
cmp dword [esp + 0x10], 2
jne 0x616411
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x616411
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.005fdd90
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
jmp 0x616458
test eax, eax
jne 0x616444
mov eax, dword [esp + 0x34]
shl eax, 2
mov edx, 0x11
push 0
push 2
push eax
push 0x40
call fcn.005fdd90
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push dword [esp + 0x14]
push 0x8d
call fcn.005f26a0
add esp, 0x10
xor eax, eax
cmp dword [edi], 0
jne 0x61661a
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x61651f
lea ecx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov eax, ecx
jmp 0x61654c
cmp dword [esp + 0x10], 0
jle 0x6164b2
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f26a0
add esp, 0x10
cmp ebp, 0x83
jne 0x616657
cmp dword [esp + 0x10], 0
jle 0x6166af
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x6166af
mov edx, 0x11
push 0
push 2
push dword [esp + 0x38]
push 0x40
call fcn.005fdd90
add esp, 0x10
jmp 0x6166af
cmp dword [esp + 0x10], 0
jle 0x616460
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x616460
mov edx, 0x11
push 0
push 2
push dword [esp + 0x38]
push 0x40
call fcn.005fdd90
jmp 0x61645d
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616612
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [ecx], eax
mov dword [eax + 4], 0x10
add eax, 8
mov dword [eax], 0
mov dword [eax + 8], 0x30000
mov ecx, dword [edi + 0x1c]
test ecx, ecx
cmove ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov dword [esp + 0x18], eax
mov dword [edi + 0x1c], eax
add dword [edi + 0x48], 5
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x6165e0
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616607
test eax, eax
jne 0x6165ad
mov eax, dword [esp + 0x34]
lea eax, [eax*4 - 4]
mov edx, 0x11
push 0
push 2
push eax
push 0x40
call fcn.005fdd90
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f26a0
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push dword [esp + 0x14]
push 0x8d
jmp 0x61668c
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616612
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [esp + 0x18]
jmp 0x61661a
mov dword [edi], 2
xor eax, eax
mov dword [esp + 0x18], eax
cmp ebp, 0x92
je 0x61677e
cmp dword [edi], 0
jne 0x61677e
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
ja 0x616740
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x61676d
cmp dword [esp + 0x10], 2
jne 0x61667a
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x61667a
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.005fdd90
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f26a0
add esp, 0x10
cmp ebp, 0x92
jne 0x6166af
mov ecx, edi
call fcn.005f3660
mov ecx, dword [esp + 0xc0]
mov dword [ecx + 0x20], eax
jmp 0x6166f0
cmp ebp, 0x93
jne 0x6166e4
cmp dword [edi], 0
je 0x616a87
mov ecx, edi
call fcn.005f3660
mov edx, dword [esp + 0x28]
test edx, edx
je 0x6166f0
test eax, eax
je 0x6166f0
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x6166f0
cmp ebp, 0x83
je 0x616dc1
mov eax, dword [esp + 0x40]
mov ebp, dword [eax]
mov ecx, edi
call fcn.005f3660
test ebp, ebp
je 0x616731
nop word cs:[eax + eax]
test eax, eax
je 0x61672a
mov ecx, dword [ebp]
test ecx, ecx
je 0x61672a
mov edx, dword [ecx + 8]
and edx, 0xfffffffc
or edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x616710
mov eax, dword [esp + 0x40]
mov dword [eax], 0
jmp 0x616dc1
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616b68
mov edx, dword [esp + 8]
mov ecx, dword [edx]
mov dword [eax], ecx
mov dword [edx], eax
mov dword [eax + 4], 8
add eax, 8
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [edx], eax
mov ebp, dword [esp + 0x7c]
mov ecx, edi
call fcn.005f3660
test ebp, ebp
je 0x6167b1
nop dword [eax]
test eax, eax
je 0x6167aa
mov ecx, dword [ebp]
test ecx, ecx
je 0x6167aa
mov edx, dword [ecx + 8]
and edx, 0xfffffffc
or edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x616790
cmp dword [esp + 0x14], 0
js 0x616819
mov ebp, dword [esp + 0x24]
cmp ebp, 0x83
mov eax, dword [edi]
jne 0x61689a
test eax, eax
jne 0x6167f7
mov eax, dword [edi + 0x58]
add eax, dword [esp + 0xc]
sub esp, 8
mov edx, 0x2d2b2928
mov ecx, edi
push dword [esp + 0x7c]
push 0x40
push eax
push 0x8d
push 0
push 2
call fcn.005fda10
add esp, 0x20
mov eax, 1
sub eax, dword [esp + 0x10]
shl eax, 2
mov edx, 0x20
mov ecx, edi
push eax
push 0x82
push 0
push 0xc
jmp 0x616999
cmp dword [esp + 0x10], 0
mov ebp, dword [esp + 0x24]
jle 0x616840
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x64]
push 0x82
push 0
push 0xc
call fcn.005f26a0
add esp, 0x10
cmp ebp, 0x92
jne 0x616919
cmp dword [edi], 0
jne 0x616870
mov edx, 0x11
mov ecx, edi
push 0
push 2
push 4
push 0x40
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x616870
or byte [eax + 1], 0x28
cmp dword [esp + 0x10], 2
jne 0x6169a9
mov edx, 0x20
mov ecx, edi
push 0
push 0xc
push 0
push 0x82
call fcn.005f26a0
add esp, 0x10
jmp 0x6169a9
test eax, eax
jne 0x6168d5
mov eax, dword [esp + 0x98]
add eax, 8
mov ecx, dword [edi + 0x58]
add ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
sub esp, 8
mov edx, 0x2d2b2928
mov ecx, edi
push eax
push 0x40
push dword [esp + 0x3c]
push 0x8d
push 0
push 2
call fcn.005fda10
add esp, 0x20
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f26a0
add esp, 0x10
cmp dword [esp + 0x10], 2
jne 0x616971
cmp ebp, 0x93
jne 0x6169a1
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
jmp 0x616999
cmp ebp, 0x93
jne 0x616dc1
cmp dword [edi], 0
jne 0x616949
mov edx, 0x11
mov ecx, edi
push 0
push 2
push 4
push 0x40
call fcn.005fdd90
add esp, 0x10
test eax, eax
je 0x616949
or byte [eax + 1], 0x28
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f26a0
add esp, 0x10
cmp dword [edi], 0
jne 0x6169f3
jmp 0x616a6a
cmp ebp, 0x92
mov eax, 0xc
mov ebp, 0x40
cmove ebp, eax
mov edx, 0x20
mov ecx, edi
push 0
push ebp
mov ebp, dword [esp + 0x2c]
push 0
push 0x82
call fcn.005f26a0
add esp, 0x10
cmp ebp, 0x92
jne 0x6169e2
mov ecx, edi
call fcn.005f3660
mov ecx, dword [esp + 0xc0]
mov dword [ecx + 0x20], eax
mov edx, dword [esp + 0x18]
test edx, edx
je 0x616dc1
test eax, eax
je 0x616dc1
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x616dc1
cmp ebp, 0x93
jne 0x616dc1
cmp dword [edi], 0
je 0x616a6a
mov ecx, edi
call fcn.005f3660
mov edx, dword [esp + 0x28]
test edx, edx
je 0x616a15
test eax, eax
je 0x616a15
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
cmp dword [esp + 0x14], 0
js 0x616d8c
mov edx, 0x20
mov ecx, edi
mov ebp, dword [esp + 0xc]
push ebp
push 0x8d
push 0
push 2
call fcn.005f26a0
add esp, 0x10
cmp dword [edi], 0
jne 0x616d6e
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x616b7e
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x616bae
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x616aab
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x616adb
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x616bf6
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x616c26
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x616b73
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], ebp
mov dword [ebp + 4], 0x10
add ebp, 8
mov dword [ebp], 0
mov dword [ebp + 8], 0x30000
mov eax, dword [edi + 0x1c]
test eax, eax
cmove eax, dword [esp + 0x20]
mov dword [eax], ebp
mov dword [edi + 0x1c], ebp
add dword [edi + 0x48], 5
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x616b16
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616b3d
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616b73
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x6169f3
mov ecx, dword [ebp + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
jmp 0x6169f3
mov dword [edi], 2
jmp 0x61677e
mov dword [edi], 2
jmp 0x6169f3
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x616d64
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], ebp
mov dword [ebp + 4], 0x10
add ebp, 8
mov dword [ebp], 0
mov dword [ebp + 8], 0x32000
mov eax, dword [edi + 0x1c]
test eax, eax
mov ecx, dword [esp + 0x20]
cmovne ecx, eax
mov dword [ecx], ebp
mov dword [edi + 0x1c], ebp
add dword [edi + 0x48], 5
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x616c66
mov dword [esp + 0x10], ebp
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616c95
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x616d1d
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], ebp
mov dword [ebp + 4], 0x10
add ebp, 8
mov dword [ebp], 0
mov dword [ebp + 8], 0x30000
mov eax, dword [edi + 0x1c]
test eax, eax
mov ecx, dword [esp + 0x20]
cmovne ecx, eax
mov dword [ecx], ebp
mov dword [edi + 0x1c], ebp
add dword [edi + 0x48], 5
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x616ccb
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616cf2
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616d64
mov dword [esp + 0x10], ebp
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
cmp dword [edi], 0
mov ebp, dword [esp + 0xc]
jne 0x616d6e
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
mov ebp, dword [esp + 0x10]
ja 0x616d28
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616d51
sub esp, 0xc
push 0x1000
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616d1d
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x6166c0
mov ecx, dword [ebp + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
jmp 0x6166c0
mov dword [edi], 2
jmp 0x6166c0
sub esp, 0xc
push 0x800
call dword [0x6f4478]
add esp, 0x10
test eax, eax
je 0x616d64
mov edx, dword [esp + 8]
mov ecx, dword [edx]
mov dword [eax], ecx
mov dword [edx], eax
mov dword [eax + 4], 8
add eax, 8
mov ecx, dword [esi + 0xec]
mov dword [eax + 4], ecx
mov dword [eax], ebp
mov dword [esi + 0xec], eax
jmp 0x616d6a
mov dword [edi], 2
mov ebp, dword [esp + 0xc]
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x68]
push 0x82
push ebp
push 0x8d
call fcn.005f26a0
add esp, 0x10
mov eax, dword [esp + 0x40]
mov ebp, dword [eax]
mov ecx, edi
call fcn.005f3660
test ebp, ebp
je 0x616dc1
nop dword [eax]
test eax, eax
je 0x616dba
mov ecx, dword [ebp]
test ecx, ecx
je 0x616dba
mov edx, dword [ecx + 8]
and edx, 0xfffffffc
or edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x616da0
mov eax, dword [esp + 0x1c]
cmp eax, 0x80
je 0x616dd1
cmp eax, 0x7e
jne 0x616dec
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xd8], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0xe0], eax
add ebx, 4
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret