Function at 0x614e40
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.0061a5d0
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 0x6150ab
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f2690
add esp, 0x10
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x614fa6
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.005fdd80
add esp, 0x10
mov dword [esp + 0x28], 0
cmp dword [edi], 0
mov eax, dword [esp + 0x14]
jne 0x6150ab
mov edx, 0x11
mov ecx, edi
push 0
push 0xc
push 0
push 0x40
call fcn.005fdd80
add esp, 0x10
test eax, eax
je 0x614fda
or byte [eax + 1], 0x38
mov dword [esp + 0x28], 0
cmp dword [edi], 0
mov eax, dword [esp + 0x14]
jne 0x6150ab
mov ebp, ebx
mov ebx, dword [edi + 0x30]
mov ecx, dword [ebx + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x61500b
lea eax, [ebx + ecx + 8]
mov dword [ebx + 4], edx
jmp 0x615036
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x615343
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 0x615077
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x6150a2
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x61557b
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 0x61516b
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 0x615364
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.005fdd80
add esp, 0x10
test eax, eax
je 0x615116
or byte [eax + 1], 0x28
xor ebp, ebp
cmp dword [ebx], 0
jne 0x615364
mov edx, 1
mov ecx, ebx
push 0
push 0xa
push 0
push 2
call fcn.005fdd80
add esp, 0x10
test eax, eax
je 0x61513f
mov byte [eax], 0x3b
xor ebp, ebp
cmp dword [ebx], 0
jne 0x615364
mov ebp, dword [ebx + 0x30]
mov ecx, dword [ebp + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x6152a7
lea eax, [ebp + ecx + 8]
mov dword [ebp + 4], edx
jmp 0x6152d2
mov ecx, 1
cmp dword [esp + 0x24], 0x83
mov ebp, dword [esp + 0x38]
jne 0x6151d0
lea eax, [esi + 4]
mov ecx, 0x1e000030
jmp 0x61519a
movzx edx, byte [edx + 0x6f5d28]
lea eax, [eax + edx*2]
movzx edx, word [eax]
cmp edx, 0x1c
ja 0x6151b0
bt ecx, edx
jb 0x615190
nop word [eax + eax]
lea ebx, [edx - 0x76]
movzx ebx, bx
cmp ebx, 2
jb 0x615190
movzx eax, dx
cmp eax, 0x78
jne 0x6151c7
xor ecx, ecx
jmp 0x6151cc
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 0x61520c
mov edx, 0x20
mov ecx, edi
push 0
push 2
push dword [esp + 0x14]
push 0x8d
call fcn.005f2690
add esp, 0x10
mov eax, esi
mov dword [esp + 0x1c], eax
test esi, esi
mov esi, ebp
je 0x61569b
mov ebx, dword [esi]
xor ebp, ebp
cmp dword [ebx], 0
jne 0x61562a
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.005fdd80
add esp, 0x10
test eax, eax
je 0x615252
or byte [eax + 1], 0x28
xor ebp, ebp
cmp dword [ebx], 0
jne 0x61562a
mov edx, 1
mov ecx, ebx
push 0
push 0xa
push 0
push 2
call fcn.005fdd80
add esp, 0x10
test eax, eax
je 0x61527b
mov byte [eax], 0x3b
xor ebp, ebp
cmp dword [ebx], 0
jne 0x61562a
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x61558e
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x6155b8
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x61535c
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 0x615311
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x615338
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x61535c
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 0x615364
mov dword [edi], 2
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
mov ebx, ebp
jmp 0x6150ab
mov dword [ebx], 2
xor ebp, ebp
mov ebx, dword [esi]
cmp dword [ebx], 0
jne 0x6153d3
mov esi, dword [ebx + 0x30]
mov ecx, dword [esi + 4]
lea edx, [ecx + 0xc]
cmp edx, 0x7f8
ja 0x615385
lea eax, [esi + ecx + 8]
mov dword [esi + 4], edx
jmp 0x6153b0
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x61546d
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.005f3650
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.005f2690
add esp, 0x10
cmp dword [edi], 0
jne 0x615485
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.005fdd80
add esp, 0x10
test eax, eax
je 0x61542a
mov byte [eax], 0x8d
mov ebx, dword [esp + 0xc]
jmp 0x615485
cmp dword [edi], 4
mov ebx, dword [esp + 0xc]
jne 0x615485
mov edx, 1
mov ecx, edi
push 0
push 3
push 0
push 2
call fcn.005fdd80
add esp, 0x10
test eax, eax
je 0x61547c
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.005fdd80
add esp, 0x10
jmp 0x615485
mov dword [ebx], 2
mov esi, dword [esp + 0x38]
jmp 0x6153d3
cmp dword [edi], 0
mov ebx, dword [esp + 0xc]
je 0x615455
mov edx, 0x20
mov ecx, edi
push 0
push 3
push ebx
push 0x8d
call fcn.005f2690
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x615523
mov edx, 0x20
mov ecx, edi
push dword [esi + 0x40]
push 0x8d
push 0
push 3
call fcn.005f2690
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0xc
push 0
push 0x82
call fcn.005f2690
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push 8
push 0x82
call fcn.005f2690
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 3
push 4
push 0x82
call fcn.005f2690
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push dword [esi + 0x40]
push 0x8d
jmp 0x61554f
mov edx, 0x20
mov ecx, edi
push 0
push 0xc
push 0
push 0x82
call fcn.005f2690
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push 4
push 0x82
call fcn.005f2690
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.0061aa60
add esp, 0x10
jmp 0x61572c
mov dword [edi], 2
mov dword [esp + 0x28], 0
jmp 0x6150a7
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x615622
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 0x6155f4
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x61561b
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x615622
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 0x61562a
mov dword [ebx], 2
xor ebp, ebp
mov ebx, dword [esi]
cmp dword [ebx], 0
jne 0x61569b
mov dword [esp + 0x2c], ebp
mov ebp, dword [ebx + 0x30]
mov ecx, dword [ebp + 4]
lea edx, [ecx + 0xc]
cmp edx, 0x7f8
ja 0x61564f
lea eax, [ebp + ecx + 8]
mov dword [ebp + 4], edx
jmp 0x61567a
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x6161d3
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.005f3650
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 0x6156bd
mov edx, 0x20
mov ecx, edi
push dword [esi + 0x40]
push 0x8d
push 0
push 1
call fcn.005f2690
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x6156de
mov edx, 0x20
mov ecx, edi
push 0
push 0xc
push 0
push 0x82
call fcn.005f2690
add esp, 0x10
cmp dword [esp + 0x18], 0
mov ebx, dword [esp + 0x10]
je 0x615724
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push dword [esi + 0x40]
push 0x8d
call fcn.005f2690
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push 4
push 0x82
call fcn.005f2690
add esp, 0x10
mov ebx, dword [esp + 0x20]
jmp 0x61572c
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 0x615782
mov eax, 1
cmp ecx, 0x7e
jne 0x61579f
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 0x615a5d
movzx eax, word [ebx]
cmp eax, 0x77
je 0x615a50
jmp 0x615f04
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x6158ad
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x6158dd
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x6159a8
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 0x615918
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x61593f
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x6159a8
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 0x615e57
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
ja 0x61596a
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x615993
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x6159a8
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 0x615e57
mov dword [edi], 2
jmp 0x615e57
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x615a44
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 0x615ca3
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
ja 0x615a05
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x615a2e
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x615a44
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 0x615ca3
mov dword [edi], 2
jmp 0x615ca3
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 0x615ab0
movzx eax, ax
cmp eax, 0x77
jne 0x615ab0
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f2690
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.005f3730
add esp, 0x10
cmp dword [edi], 0
jne 0x615ea6
mov ecx, edi
call fcn.005f3650
mov dword [esi + 0xb8], eax
mov ecx, dword [esi + 0xe0]
test ecx, ecx
je 0x615b20
nop word cs:[eax + eax]
test eax, eax
je 0x615b19
mov edx, dword [ecx]
test edx, edx
je 0x615b19
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 0x615b00
mov eax, dword [esp + 0x14]
test eax, eax
js 0x615b60
cmp dword [esp + 0x1c], 0x7e
jne 0x615ba0
cmp dword [esp + 0xc4], 0
je 0x615ba7
cmp dword [edi], 0
je 0x615c55
cmp dword [esp + 0x18], 0
jne 0x615c85
jmp 0x615ca3
cmp eax, 0xffffffff
je 0x615c1a
cmp dword [esp + 0x10], 0
jle 0x615c36
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x615c36
mov edx, 0x11
push 0
push 2
push dword [esp + 0x38]
push 0x40
call fcn.005fdd80
jmp 0x615c33
cmp byte [esp + 0x2c], 0
jne 0x615b39
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xc]
push 0x8d
push 0
push 2
call fcn.005f2690
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x615bed
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xa8]
push 0x82
push dword [esi + 0x40]
push 0x8d
call fcn.005f2690
add esp, 0x10
cmp dword [edi], 0
jne 0x615ca3
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x615d82
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x615db2
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xc]
push 0x8d
push 0
push 2
call fcn.005f2690
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x615ca3
mov edx, 0x20
mov ecx, edi
push 0xfffffffffffffffc
push 0x82
push dword [esi + 0x40]
push 0x8d
jmp 0x615c9b
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.005fda00
add esp, 0x20
cmp dword [esp + 0x18], 0
je 0x615ca3
mov edx, 0x20
mov ecx, edi
push 0xfffffffffffffffc
push 0x82
push dword [esi + 0x40]
push 0x8d
call fcn.005f2690
add esp, 0x10
mov eax, dword [esp + 0x1c]
cmp eax, 0x80
je 0x615cb7
cmp eax, 0x7e
jne 0x615e4e
cmp dword [esp + 0xc4], 0
je 0x615cf0
cmp dword [esp + 0x10], 0
jle 0x615e4e
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x3c]
push 0x82
push 0
push 0xc
jmp 0x615e46
cmp dword [esp + 0x24], 0x92
jne 0x615d59
cmp dword [esp + 0x14], 0
js 0x615df4
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x68]
push 0x82
push 0
push 1
call fcn.005f2690
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xa0]
push 0x82
push 0
push 0xc
call fcn.005f2690
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push dword [esp + 0x14]
push 0x8d
jmp 0x615e08
cmp dword [esp + 0x14], 0
js 0x615e4e
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x68]
push 0x82
push dword [esp + 0x14]
push 0x8d
jmp 0x615e46
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x615a44
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 0x6159b3
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x6159da
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x64]
push 0x82
push 0
push 0xc
call fcn.005f2690
add esp, 0x10
cmp dword [edi], 0
jne 0x615e34
mov edx, 0x11
mov ecx, edi
push 0
push 2
push 4
push 0x40
call fcn.005fdd80
add esp, 0x10
test eax, eax
je 0x615e34
or byte [eax + 1], 0x28
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f2690
add esp, 0x10
cmp dword [edi], 0
je 0x615890
mov edx, dword [esp + 0x8c]
mov ecx, esi
call fcn.005f8fa0
cmp dword [edi], 0
jne 0x615ea6
mov ebp, dword [esp + 0x90]
mov ecx, edi
call fcn.005f3650
test ebp, ebp
je 0x615870
test eax, eax
je 0x615e9a
mov ecx, dword [ebp]
test ecx, ecx
je 0x615e9a
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 0x615e80
jmp 0x615870
mov eax, dword [esp + 0x1c]
cmp eax, 0x80
je 0x615eb6
cmp eax, 0x7e
jne 0x615ed1
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 0x616e0b
mov eax, dword [esp + 0x1c]
cmp eax, 0x80
je 0x615f14
cmp eax, 0x7e
jne 0x615f22
mov eax, dword [esi + 0xd4]
mov dword [esi + 0xd8], eax
jmp 0x615f28
mov eax, dword [esi + 0xd8]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x61625a
xor eax, eax
cmp dword [edi], 0
jne 0x615fff
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x615f5e
lea ecx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov eax, ecx
jmp 0x615f8b
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x615ff7
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 0x615fc7
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x615fee
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x615ff7
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 0x615fff
mov dword [edi], 2
xor eax, eax
mov dword [esp + 0x2c], eax
mov ebp, dword [esi + 0xd8]
mov ecx, edi
call fcn.005f3650
test ebp, ebp
je 0x616041
nop word cs:[eax + eax]
test eax, eax
je 0x61603a
mov ecx, dword [ebp]
test ecx, ecx
je 0x61603a
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 0x616020
cmp dword [esp + 0x14], 0
js 0x61608e
mov edx, 0x20
mov ecx, edi
push dword [esp + 0xc]
push 0x8d
push 0
push 2
call fcn.005f2690
add esp, 0x10
cmp dword [edi], 0
mov ebp, dword [esp + 0x24]
jne 0x616238
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x6160c9
lea ecx, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x6160fa
cmp dword [edi], 0
mov ebp, dword [esp + 0x24]
jne 0x616238
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.005fda00
add esp, 0x20
jmp 0x616238
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616232
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 0x616138
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616163
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616232
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 0x616238
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 8]
cmp edx, 0x7f8
ja 0x6161e9
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.005fdd80
add esp, 0x10
test eax, eax
je 0x616238
or byte [eax + 1], 0x28
jmp 0x616238
mov dword [ebx], 2
cmp dword [esp + 0x18], 0
jne 0x6156a2
jmp 0x6156bd
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616232
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 0x616238
jmp 0x6161a8
mov dword [edi], 2
mov ecx, edi
call fcn.005f3650
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x61625a
test eax, eax
je 0x61625a
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 0x61627f
mov edx, 0x20
mov ecx, edi
push 4
push 0x82
push dword [esi + 0x40]
push 0x8d
call fcn.005f2690
add esp, 0x10
mov eax, dword [esp + 0x70]
or eax, 2
movzx eax, ax
cmp eax, 0x7f
jne 0x616333
cmp dword [esp + 0x10], 0
setg al
cmp dword [esp + 0xc4], 0
setne cl
cmp ebp, 0x92
je 0x6163ad
and cl, al
jne 0x6163ad
cmp dword [esp + 0x14], 0
js 0x6163d2
mov eax, dword [esp + 0x30]
add eax, 0xfffffffc
mov edx, 0x20
mov ecx, edi
push eax
push 0x82
push 0
push 1
call fcn.005f2690
add esp, 0x10
cmp ebp, 0x92
mov ecx, dword [esi]
mov eax, dword [ecx]
jne 0x616415
test eax, eax
jne 0x616317
mov eax, dword [esp + 0x34]
lea eax, [eax*4 - 4]
mov edx, 0x11
push 0
push 2
push eax
push 0x40
call fcn.005fdd80
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f2690
jmp 0x616431
cmp dword [esp + 0x14], 0
js 0x616481
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f2690
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.005f2690
add esp, 0x10
cmp ebp, 0x83
mov ecx, dword [esi]
mov eax, dword [ecx]
jne 0x61657a
test eax, eax
jne 0x6165b7
mov eax, dword [esp + 0x34]
shl eax, 2
mov edx, 0x11
push 0
push 2
push eax
push 0x40
call fcn.005fdd80
jmp 0x6165b4
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f2690
add esp, 0x10
cmp dword [esp + 0x14], 0
jns 0x6162c4
cmp ebp, 0x92
jne 0x6164e0
cmp dword [esp + 0x10], 2
jne 0x616401
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x616401
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.005fdd80
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
jmp 0x616448
test eax, eax
jne 0x616434
mov eax, dword [esp + 0x34]
shl eax, 2
mov edx, 0x11
push 0
push 2
push eax
push 0x40
call fcn.005fdd80
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push dword [esp + 0x14]
push 0x8d
call fcn.005f2690
add esp, 0x10
xor eax, eax
cmp dword [edi], 0
jne 0x61660a
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x61650f
lea ecx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov eax, ecx
jmp 0x61653c
cmp dword [esp + 0x10], 0
jle 0x6164a2
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f2690
add esp, 0x10
cmp ebp, 0x83
jne 0x616647
cmp dword [esp + 0x10], 0
jle 0x61669f
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x61669f
mov edx, 0x11
push 0
push 2
push dword [esp + 0x38]
push 0x40
call fcn.005fdd80
add esp, 0x10
jmp 0x61669f
cmp dword [esp + 0x10], 0
jle 0x616450
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x616450
mov edx, 0x11
push 0
push 2
push dword [esp + 0x38]
push 0x40
call fcn.005fdd80
jmp 0x61644d
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616602
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 0x6165d0
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x6165f7
test eax, eax
jne 0x61659d
mov eax, dword [esp + 0x34]
lea eax, [eax*4 - 4]
mov edx, 0x11
push 0
push 2
push eax
push 0x40
call fcn.005fdd80
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f2690
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 1
push dword [esp + 0x14]
push 0x8d
jmp 0x61667c
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616602
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 0x61660a
mov dword [edi], 2
xor eax, eax
mov dword [esp + 0x18], eax
cmp ebp, 0x92
je 0x61676e
cmp dword [edi], 0
jne 0x61676e
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
ja 0x616730
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x61675d
cmp dword [esp + 0x10], 2
jne 0x61666a
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x61666a
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.005fdd80
add esp, 0x10
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f2690
add esp, 0x10
cmp ebp, 0x92
jne 0x61669f
mov ecx, edi
call fcn.005f3650
mov ecx, dword [esp + 0xc0]
mov dword [ecx + 0x20], eax
jmp 0x6166e0
cmp ebp, 0x93
jne 0x6166d4
cmp dword [edi], 0
je 0x616a77
mov ecx, edi
call fcn.005f3650
mov edx, dword [esp + 0x28]
test edx, edx
je 0x6166e0
test eax, eax
je 0x6166e0
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x6166e0
cmp ebp, 0x83
je 0x616db1
mov eax, dword [esp + 0x40]
mov ebp, dword [eax]
mov ecx, edi
call fcn.005f3650
test ebp, ebp
je 0x616721
nop word cs:[eax + eax]
test eax, eax
je 0x61671a
mov ecx, dword [ebp]
test ecx, ecx
je 0x61671a
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 0x616700
mov eax, dword [esp + 0x40]
mov dword [eax], 0
jmp 0x616db1
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616b58
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.005f3650
test ebp, ebp
je 0x6167a1
nop dword [eax]
test eax, eax
je 0x61679a
mov ecx, dword [ebp]
test ecx, ecx
je 0x61679a
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 0x616780
cmp dword [esp + 0x14], 0
js 0x616809
mov ebp, dword [esp + 0x24]
cmp ebp, 0x83
mov eax, dword [edi]
jne 0x61688a
test eax, eax
jne 0x6167e7
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.005fda00
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 0x616989
cmp dword [esp + 0x10], 0
mov ebp, dword [esp + 0x24]
jle 0x616830
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x64]
push 0x82
push 0
push 0xc
call fcn.005f2690
add esp, 0x10
cmp ebp, 0x92
jne 0x616909
cmp dword [edi], 0
jne 0x616860
mov edx, 0x11
mov ecx, edi
push 0
push 2
push 4
push 0x40
call fcn.005fdd80
add esp, 0x10
test eax, eax
je 0x616860
or byte [eax + 1], 0x28
cmp dword [esp + 0x10], 2
jne 0x616999
mov edx, 0x20
mov ecx, edi
push 0
push 0xc
push 0
push 0x82
call fcn.005f2690
add esp, 0x10
jmp 0x616999
test eax, eax
jne 0x6168c5
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.005fda00
add esp, 0x20
mov edx, 0x20
mov ecx, edi
push 0
push 0x82
push 0
push 0xc
call fcn.005f2690
add esp, 0x10
cmp dword [esp + 0x10], 2
jne 0x616961
cmp ebp, 0x93
jne 0x616991
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
jmp 0x616989
cmp ebp, 0x93
jne 0x616db1
cmp dword [edi], 0
jne 0x616939
mov edx, 0x11
mov ecx, edi
push 0
push 2
push 4
push 0x40
call fcn.005fdd80
add esp, 0x10
test eax, eax
je 0x616939
or byte [eax + 1], 0x28
mov edx, 0x20
mov ecx, edi
push 0
push 0x40
push 0
push 0x82
call fcn.005f2690
add esp, 0x10
cmp dword [edi], 0
jne 0x6169e3
jmp 0x616a5a
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.005f2690
add esp, 0x10
cmp ebp, 0x92
jne 0x6169d2
mov ecx, edi
call fcn.005f3650
mov ecx, dword [esp + 0xc0]
mov dword [ecx + 0x20], eax
mov edx, dword [esp + 0x18]
test edx, edx
je 0x616db1
test eax, eax
je 0x616db1
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x616db1
cmp ebp, 0x93
jne 0x616db1
cmp dword [edi], 0
je 0x616a5a
mov ecx, edi
call fcn.005f3650
mov edx, dword [esp + 0x28]
test edx, edx
je 0x616a05
test eax, eax
je 0x616a05
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 0x616d7c
mov edx, 0x20
mov ecx, edi
mov ebp, dword [esp + 0xc]
push ebp
push 0x8d
push 0
push 2
call fcn.005f2690
add esp, 0x10
cmp dword [edi], 0
jne 0x616d5e
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x616b6e
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x616b9e
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x616a9b
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x616acb
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x616be6
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x616c16
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x616b63
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 0x616b06
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616b2d
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616b63
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 0x6169e3
mov ecx, dword [ebp + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
jmp 0x6169e3
mov dword [edi], 2
jmp 0x61676e
mov dword [edi], 2
jmp 0x6169e3
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x616d54
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 0x616c56
mov dword [esp + 0x10], ebp
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616c85
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x616d0d
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 0x616cbb
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616ce2
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616d54
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 0x616d5e
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 0x616d18
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x616d41
sub esp, 0xc
push 0x1000
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616d0d
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 0x6166b0
mov ecx, dword [ebp + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
jmp 0x6166b0
mov dword [edi], 2
jmp 0x6166b0
sub esp, 0xc
push 0x800
call dword [0x6f4468]
add esp, 0x10
test eax, eax
je 0x616d54
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 0x616d5a
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.005f2690
add esp, 0x10
mov eax, dword [esp + 0x40]
mov ebp, dword [eax]
mov ecx, edi
call fcn.005f3650
test ebp, ebp
je 0x616db1
nop dword [eax]
test eax, eax
je 0x616daa
mov ecx, dword [ebp]
test ecx, ecx
je 0x616daa
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 0x616d90
mov eax, dword [esp + 0x1c]
cmp eax, 0x80
je 0x616dc1
cmp eax, 0x7e
jne 0x616ddc
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