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

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
inc eax
mov dword [esp + 0x7c], eax
inc eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [esp + 0x40], eax
push ebx
push ebp
lea ebx, [eax + 1]
mov byte [esp + 0x20], 1
add eax, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x4c], eax
inc eax
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x64], eax
inc eax
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x64], eax
inc eax
mov dword [esp + 0x20], eax
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x2c], eax
jge 0x4e8c7a
mov dword [edi + 0x2c], eax
mov ebp, dword [edi + 8]
test ebp, ebp
je 0x4e8c87
mov dword [esp + 0x1c], ebp
jmp 0x4e8cb1
cmp dword [edi + 0x80], 0
jne 0x4e8c9a
test byte [ecx + 0x50], 8
jne 0x4e8c9a
mov byte [edi + 0x17], 1
push edi
call fcn.0057f600
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x4e9a6e
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x4e9a6e
cmp byte [edx + 0x2b], 0
jne 0x4e9a6e
mov eax, dword [edx]
test eax, eax
je 0x4e8cee
push 0x5c
push 0x613128
push eax
push str.sqlite__
call fcn.005314a0
add esp, 0x10
test eax, eax
je 0x4e9a6e
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx + 0x3c]
push esi
mov esi, 0xffff8000
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x4e8d1f
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x3c], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4e8d1f
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4e8d13
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x30]
mov ecx, esi
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push 0
push dword [edx]
push 0x1c
push edi
call fcn.00540670
add esp, 0x14
test eax, eax
jne 0x4e9a6d
mov eax, dword [esp + 0x80]
push dword [eax]
push 0
push dword [eax + 0x14]
push esi
push edi
call fcn.00579cd0
mov eax, dword [esp + 0xa4]
mov edx, eax
inc eax
mov dword [esp + 0x88], edx
push 0x70
push dword [esp + 0x98]
mov dword [esp + 0xac], eax
lea ecx, [eax + 1]
mov eax, dword [edi + 0x28]
cmp eax, ecx
push esi
push edx
cmovle eax, ecx
push edi
mov dword [edi + 0x28], eax
call fcn.00567170
mov esi, dword [esp + 0xa8]
push dword [esi]
push dword [esp + 0x78]
push ebp
call fcn.00589df0
mov edx, dword [esi + 8]
add esp, 0x34
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4e99db
mov eax, dword [esp + 0x28]
test ecx, ecx
je 0x4e8dcc
cmp ecx, edx
jne 0x4e99c4
xor ecx, ecx
movzx eax, al
cmp dword [edx + 0x24], ecx
cmovne ecx, eax
test byte [esi + 0x1c], 0x80
mov dword [esp + 0x28], ecx
je 0x4e8df4
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x4e8df4
movzx ebx, word [edx + 0x32]
mov eax, esi
mov ecx, ebx
jmp 0x4e8e06
test byte [edx + 0x38], 8
mov eax, edx
movzx ebx, word [edx + 0x34]
mov ecx, ebx
je 0x4e8e06
movzx ecx, word [edx + 0x32]
mov eax, dword [eax]
lea esi, [ecx - 1]
push 0
push eax
push 0
push dword [esp + 0x78]
mov dword [esp + 0x50], esi
push 0
push 0x75
push ebp
call fcn.0057ee90
mov eax, dword [esp + 0x40]
add esp, 0x1c
add eax, esi
cmp dword [edi + 0x2c], eax
jge 0x4e8e33
mov dword [edi + 0x2c], eax
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x70]
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x14], eax
mov edx, dword [edx + 0x2c]
cmp dword [eax], ecx
jg 0x4e8e6c
push dword [esp + 0x3c]
push edx
push dword [esp + 0x98]
push 0x70
push ebp
call fcn.0051dc60
mov eax, dword [esp + 0x34]
add esp, 0x14
add eax, 0x68
mov dword [esp + 0x10], eax
jmp 0x4e8ea8
mov edi, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
lea eax, [ebp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x7c]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x1c]
mov edi, dword [edi + 8]
push dword [esp + 0x80]
call fcn.00564a60
mov edx, eax
add esp, 8
test edx, edx
je 0x4e8f0f
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4e8ef3
cmp dword [eax + 0x210], 0
jne 0x4e8ee6
add dword [edx], 0xffffffff
jne 0x4e8ee6
push edx
push dword [edx + 0xc]
call fcn.0054ad00
add esp, 8
mov edi, dword [esp + 0x20]
add edi, 0x68
mov dword [esp + 0x10], edi
jmp 0x4e8f13
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], edi
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
jmp 0x4e8f13
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x4e8f32
push 0
push dword [esp + 0x48]
push ebx
push 0x47
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e8f60
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x6c]
movzx edx, word [eax + 0x32]
cmp dword [ebx], ecx
jg 0x4e8f87
push 0
push dword [esp + 0x54]
push edx
push 0x47
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e8fb9
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x64], ecx
cmp dword [ebx], ecx
jg 0x4e8fe7
push 0
push 0
push dword [esp + 0x98]
push 0x24
push ebp
call fcn.0051dc60
mov edx, dword [esp + 0xa4]
add esp, 0x14
mov dword [esp + 0x64], eax
jmp 0x4e901c
mov edx, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x6c]
cmp dword [ebx], ecx
jg 0x4e9037
push 1
push dword [esp + 0x1c]
push edx
push 0x62
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e9069
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [eax + 0x1f0]
cmp dword [ebx], ecx
jg 0x4e908e
push 0
push dword [esp + 0x58]
push edx
push 0x47
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e90bc
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x7c]
push 0
push 0x2c
push dword [eax]
mov edi, dword [eax + 8]
call fcn.0054aba0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4e9142
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x94]
mov dword [ecx], 0
push dword [esp + 0x50]
mov dword [ecx + 4], 0x6176e4
push 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x1a], 4
mov eax, dword [edi + 0x6c]
push 0x42
push edi
mov dword [ecx + 0x10], eax
call fcn.0057ee90
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x4e912b
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x7c]
mov ecx, edi
mov eax, dword [edi + 0x80]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x4e9146
mov edi, dword [esp + 0x7c]
mov ecx, dword [ebp + 0x6c]
cmp dword [ebx], ecx
jg 0x4e9166
push 0
push dword [esp + 0x30]
push 0
push 0x47
push ebp
call fcn.0051dc60
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x4e919c
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4e952f
dec dword [edi + 0x38]
mov edi, dword [edi + 0x38]
shl eax, 2
push 0
push eax
push dword [esp + 0x38]
mov dword [esp + 0x6c], edi
call fcn.0054aba0
add esp, 0xc
mov dword [esp + 0x48], eax
test eax, eax
je 0x4e99ae
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [edx], ecx
jg 0x4e91f5
push 0
push 0
push 0
push 9
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e9227
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x40], 1
mov ecx, dword [ebp + 0x6c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
jne 0x4e9290
mov eax, dword [esp + 0x1c]
cmp word [eax + 0x32], 1
jne 0x4e9290
cmp byte [eax + 0x36], 0
je 0x4e9290
cmp dword [edx], ecx
jg 0x4e9262
push 0
push edi
push dword [esp + 0x2c]
push 0x33
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e9290
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor edi, edi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + edi*4]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x70], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x54]
mov bl, byte [ecx + 0xb1]
mov byte [esp + 0x58], al
movzx eax, bl
push eax
push edx
push dword [esp + 0x60]
push ecx
call fcn.00553550
add esp, 0x10
mov dword [esp + 0x5c], eax
test bl, bl
jne 0x4e92f3
test eax, eax
je 0x4e92d7
cmp dword [eax + 0xc], 0
jne 0x4e92f3
push dword [esp + 0x70]
push eax
push dword [esp + 0x60]
push dword [esp + 0x88]
call fcn.00560990
add esp, 0x10
mov ebx, eax
jmp 0x4e92f7
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x4e9316
push 0
push dword [esp + 0x30]
push edi
push 0x47
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e9348
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [esp + 0x10]
cmp dword [eax], ecx
jg 0x4e9370
push dword [esp + 0x18]
push edi
push dword [esp + 0x98]
push 0x5e
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e93a1
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
push 0xfffffffffffffffe
push ebx
add eax, edi
push eax
push 0
push dword [esp + 0x28]
push 0x34
push ebp
call fcn.0057ee90
mov ecx, dword [esp + 0x64]
add esp, 0x1c
mov ebx, dword [esp + 0x10]
mov dword [ecx + edi*4], eax
mov eax, dword [ebp + 0x6c]
test eax, eax
jle 0x4e93dd
lea ecx, [eax + eax*4]
mov edx, pe_nt_image_headers32
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x40]
inc edi
cmp edi, edx
jl 0x4e9292
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x4e9409
push 0
push dword [esp + 0x30]
push edx
push 0x47
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e9437
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x60]
push ebp
call fcn.00589300
mov eax, dword [ebp]
add esp, 8
mov edx, dword [ebp + 0x6c]
xor edi, edi
cmp byte [eax + 0x57], 0
je 0x4e945a
mov dword [0x64e028], edx
jmp 0x4e9467
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 - 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
nop
mov eax, dword [ebp]
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4e9483
mov eax, 0x64e020
jmp 0x4e9492
mov eax, dword [esp + 0x48]
mov eax, dword [eax + edi*4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0x6c]
add edx, edi
cmp dword [eax], ecx
jg 0x4e94bc
push edx
push edi
push dword [esp + 0x98]
push 0x5e
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e94ed
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov ebx, dword [esp + 0x90]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc edi
cmp edi, dword [esp + 0x40]
jl 0x4e9470
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e9516
push edx
push ebp
push ecx
call fcn.005379d0
add esp, 0xc
jmp 0x4e951f
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebp + 0x6c]
mov dword [ecx + edx*4], eax
push dword [esp + 0x48]
push dword [esp + 0x34]
call fcn.0054aa60
add esp, 8
mov ebx, dword [esp + 0x7c]
push 0
push 0x24
push dword [ebx]
mov edi, dword [ebx + 8]
call fcn.0054aba0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4e95af
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x20]
mov dword [ecx], 0
push dword [esp + 0x98]
mov dword [ecx + 4], 0x61770c
push 1
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x1a], 2
mov eax, dword [edi + 0x6c]
push 0x42
push edi
mov dword [ecx + 0x10], eax
call fcn.0057ee90
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x4e959e
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0x80]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 0x6c]
cmp dword [ecx + 0x1f0], 0
mov eax, dword [eax]
je 0x4e97a9
cmp eax, edi
jg 0x4e95e8
push 0
push 0
push dword [esp + 0x20]
push 0x32
push ebp
call fcn.0051dc60
mov edx, dword [esp + 0x24]
add esp, 0x14
mov edi, eax
jmp 0x4e961e
mov edx, dword [esp + 0x10]
lea eax, [edi + 1]
mov ebx, dword [esp + 0x18]
lea ecx, [edi + edi*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 0x6c]
cmp dword [eax], ebx
jg 0x4e9640
push 0
push 0
push dword [esp + 0x20]
push 0x10
push ebp
call fcn.0051dc60
add esp, 0x14
mov ebx, eax
jmp 0x4e9672
lea eax, [ebx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x6c]
mov dword [esp + 0x60], edx
cmp dword [eax], edx
jg 0x4e96a1
push 1
push dword [esp + 0x28]
push 0
push dword [esp + 0x9c]
push 0x18
push ebp
call fcn.004e7220
add esp, 0x18
mov dword [esp + 0x60], eax
jmp 0x4e96da
lea eax, [edx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x90]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xfd18
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 1
mov eax, dword [ebp]
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4e96f1
mov edi, dword [esp + 0x10]
mov eax, 0x64e020
jmp 0x4e96fd
lea ecx, [edi + edi*4]
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x4e9726
mov edx, dword [esp + 0x34]
push 0
push edx
push dword [esp + 0x98]
push 0x27
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e975b
mov edx, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp]
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4e976e
mov eax, 0x64e020
jmp 0x4e9776
mov eax, dword [edi]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebp]
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4e9793
mov ebx, dword [esp + 0x10]
mov eax, 0x64e020
mov dword [eax + 8], edx
jmp 0x4e9805
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4e9805
cmp eax, edi
jg 0x4e97cc
mov edx, dword [esp + 0x34]
push 0
push edx
push dword [esp + 0x98]
push 0x27
push ebp
call fcn.0051dc60
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x4e9805
mov ebx, dword [esp + 0x10]
lea eax, [edi + 1]
mov edx, dword [esp + 0x90]
lea ecx, [edi + edi*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x7c]
push 0
push 0x20
push dword [eax]
mov edi, dword [eax + 8]
call fcn.0054aba0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4e9887
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x70]
mov dword [ecx], 0
push dword [esp + 0x98]
mov dword [ecx + 4], 0x617734
push 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x1a], 1
mov eax, dword [edi + 0x6c]
push 0x42
push edi
mov dword [ecx + 0x10], eax
call fcn.0057ee90
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x4e9874
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 0x80]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
push 0
push 0x61d40c
push dword [esp + 0x20]
push 3
push dword [esp + 0x5c]
push 0x61
push ebp
call fcn.0057ee90
mov edi, dword [esp + 0x30]
add esp, 0x1c
mov ecx, dword [ebp + 0x6c]
cmp dword [edi], ecx
jg 0x4e98cf
push 0
push dword [esp + 0x3c]
push dword [esp + 0x90]
push 0x7f
push ebp
call fcn.0051dc60
mov edx, dword [esp + 0x9c]
add esp, 0x14
jmp 0x4e9908
mov edi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x88]
lea ecx, [ecx + ecx*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x6c]
cmp dword [edi], ecx
jg 0x4e9928
push dword [esp + 0x38]
push dword [esp + 0x1c]
push edx
push pe_nt_image_headers32
push ebp
call fcn.0051dc60
add esp, 0x14
jmp 0x4e9956
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], pe_nt_image_headers32
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x6c]
test eax, eax
jle 0x4e996c
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp]
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4e997f
mov eax, 0x64e020
jmp 0x4e998b
mov eax, dword [esp + 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
jmp 0x4e99c8
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x4e8dc0
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e9a6d
cmp byte [esp + 0x28], cl
je 0x4e9a6d
mov esi, dword [esp + 0x68]
push esi
push dword [esp + 0x78]
push 0x62
push ebp
call fcn.0057edd0
push esi
push 0x11
push ebp
call fcn.0057ed70
push dword [esp + 0x88]
mov esi, eax
push 0
push 0x4b
push ebp
call fcn.0057edd0
push 0
push 0x61d40c
push ebx
push 3
push dword [esp + 0x88]
push 0x61
push ebp
call fcn.0057ee90
mov edi, dword [esp + 0xd0]
add esp, 0x48
push dword [esp + 0x38]
push edi
push 0x7f
push ebp
call fcn.0057edd0
push dword [esp + 0x48]
push ebx
push edi
push pe_nt_image_headers32
push ebp
call fcn.0057ee30
push 8
push ebp
call fcn.0057f390
push esi
push ebp
call fcn.00589b40
add esp, 0x34
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x68
ret