Function at 0x4da250
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 0x4da2aa
mov dword [edi + 0x2c], eax
mov ebp, dword [edi + 8]
test ebp, ebp
je 0x4da2b7
mov dword [esp + 0x1c], ebp
jmp 0x4da2e1
cmp dword [edi + 0x80], 0
jne 0x4da2ca
test byte [ecx + 0x50], 8
jne 0x4da2ca
mov byte [edi + 0x17], 1
push edi
call fcn.00570c30
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x4db09e
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x4db09e
cmp byte [edx + 0x2b], 0
jne 0x4db09e
mov eax, dword [edx]
test eax, eax
je 0x4da31e
push 0x5c
push 0x604558
push eax
push str.sqlite__
call fcn.00522ad0
add esp, 0x10
test eax, eax
je 0x4db09e
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx + 0x3c]
push esi
mov esi, 0xffff8000
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x4da34f
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 0x4da34f
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4da343
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.00531ca0
add esp, 0x14
test eax, eax
jne 0x4db09d
mov eax, dword [esp + 0x80]
push dword [eax]
push 0
push dword [eax + 0x14]
push esi
push edi
call fcn.0056b300
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.005587a0
mov esi, dword [esp + 0xa8]
push dword [esi]
push dword [esp + 0x78]
push ebp
call fcn.0057b420
mov edx, dword [esi + 8]
add esp, 0x34
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4db00b
mov eax, dword [esp + 0x28]
test ecx, ecx
je 0x4da3fc
cmp ecx, edx
jne 0x4daff4
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 0x4da424
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x4da424
movzx ebx, word [edx + 0x32]
mov eax, esi
mov ecx, ebx
jmp 0x4da436
test byte [edx + 0x38], 8
mov eax, edx
movzx ebx, word [edx + 0x34]
mov ecx, ebx
je 0x4da436
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.005704c0
mov eax, dword [esp + 0x40]
add esp, 0x1c
add eax, esi
cmp dword [edi + 0x2c], eax
jge 0x4da463
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 0x4da49c
push dword [esp + 0x3c]
push edx
push dword [esp + 0x98]
push 0x70
push ebp
call fcn.0050f290
mov eax, dword [esp + 0x34]
add esp, 0x14
add eax, 0x68
mov dword [esp + 0x10], eax
jmp 0x4da4d8
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.00556090
mov edx, eax
add esp, 8
test edx, edx
je 0x4da53f
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4da523
cmp dword [eax + 0x210], 0
jne 0x4da516
add dword [edx], 0xffffffff
jne 0x4da516
push edx
push dword [edx + 0xc]
call fcn.0053c330
add esp, 8
mov edi, dword [esp + 0x20]
add edi, 0x68
mov dword [esp + 0x10], edi
jmp 0x4da543
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 0x4da543
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x4da562
push 0
push dword [esp + 0x48]
push ebx
push 0x47
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4da590
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 0x4da5b7
push 0
push dword [esp + 0x54]
push edx
push 0x47
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4da5e9
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 0x4da617
push 0
push 0
push dword [esp + 0x98]
push 0x24
push ebp
call fcn.0050f290
mov edx, dword [esp + 0xa4]
add esp, 0x14
mov dword [esp + 0x64], eax
jmp 0x4da64c
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 0x4da667
push 1
push dword [esp + 0x1c]
push edx
push 0x62
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4da699
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 0x4da6be
push 0
push dword [esp + 0x58]
push edx
push 0x47
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4da6ec
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.0053c1d0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4da772
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x94]
mov dword [ecx], 0
push dword [esp + 0x50]
mov dword [ecx + 4], 0x608b14
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.005704c0
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x4da75b
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 0x4da776
mov edi, dword [esp + 0x7c]
mov ecx, dword [ebp + 0x6c]
cmp dword [ebx], ecx
jg 0x4da796
push 0
push dword [esp + 0x30]
push 0
push 0x47
push ebp
call fcn.0050f290
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x4da7cc
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 0x4dab5f
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.0053c1d0
add esp, 0xc
mov dword [esp + 0x48], eax
test eax, eax
je 0x4dafde
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [edx], ecx
jg 0x4da825
push 0
push 0
push 0
push 9
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4da857
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 0x4da8c0
mov eax, dword [esp + 0x1c]
cmp word [eax + 0x32], 1
jne 0x4da8c0
cmp byte [eax + 0x36], 0
je 0x4da8c0
cmp dword [edx], ecx
jg 0x4da892
push 0
push edi
push dword [esp + 0x2c]
push 0x33
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4da8c0
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.00544b80
add esp, 0x10
mov dword [esp + 0x5c], eax
test bl, bl
jne 0x4da923
test eax, eax
je 0x4da907
cmp dword [eax + 0xc], 0
jne 0x4da923
push dword [esp + 0x70]
push eax
push dword [esp + 0x60]
push dword [esp + 0x88]
call fcn.00551fc0
add esp, 0x10
mov ebx, eax
jmp 0x4da927
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x4da946
push 0
push dword [esp + 0x30]
push edi
push 0x47
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4da978
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 0x4da9a0
push dword [esp + 0x18]
push edi
push dword [esp + 0x98]
push 0x5e
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4da9d1
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.005704c0
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 0x4daa0d
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 0x4da8c2
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x4daa39
push 0
push dword [esp + 0x30]
push edx
push 0x47
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4daa67
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.0057a930
mov eax, dword [ebp]
add esp, 8
mov edx, dword [ebp + 0x6c]
xor edi, edi
cmp byte [eax + 0x57], 0
je 0x4daa8a
mov dword [0x63d110], edx
jmp 0x4daa97
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 0x4daab3
mov eax, 0x63d108
jmp 0x4daac2
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 0x4daaec
push edx
push edi
push dword [esp + 0x98]
push 0x5e
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4dab1d
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 0x4daaa0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4dab46
push edx
push ebp
push ecx
call fcn.00529000
add esp, 0xc
jmp 0x4dab4f
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.0053c090
add esp, 8
mov ebx, dword [esp + 0x7c]
push 0
push 0x24
push dword [ebx]
mov edi, dword [ebx + 8]
call fcn.0053c1d0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4dabdf
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x20]
mov dword [ecx], 0
push dword [esp + 0x98]
mov dword [ecx + 4], 0x608b3c
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.005704c0
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x4dabce
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 0x4dadd9
cmp eax, edi
jg 0x4dac18
push 0
push 0
push dword [esp + 0x20]
push 0x32
push ebp
call fcn.0050f290
mov edx, dword [esp + 0x24]
add esp, 0x14
mov edi, eax
jmp 0x4dac4e
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 0x4dac70
push 0
push 0
push dword [esp + 0x20]
push 0x10
push ebp
call fcn.0050f290
add esp, 0x14
mov ebx, eax
jmp 0x4daca2
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 0x4dacd1
push 1
push dword [esp + 0x28]
push 0
push dword [esp + 0x9c]
push 0x18
push ebp
call fcn.004d8850
add esp, 0x18
mov dword [esp + 0x60], eax
jmp 0x4dad0a
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 0x4dad21
mov edi, dword [esp + 0x10]
mov eax, 0x63d108
jmp 0x4dad2d
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 0x4dad56
mov edx, dword [esp + 0x34]
push 0
push edx
push dword [esp + 0x98]
push 0x27
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4dad8b
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 0x4dad9e
mov eax, 0x63d108
jmp 0x4dada6
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 0x4dadc3
mov ebx, dword [esp + 0x10]
mov eax, 0x63d108
mov dword [eax + 8], edx
jmp 0x4dae35
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 0x4dae35
cmp eax, edi
jg 0x4dadfc
mov edx, dword [esp + 0x34]
push 0
push edx
push dword [esp + 0x98]
push 0x27
push ebp
call fcn.0050f290
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x4dae35
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.0053c1d0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4daeb7
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x70]
mov dword [ecx], 0
push dword [esp + 0x98]
mov dword [ecx + 4], 0x608b64
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.005704c0
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x4daea4
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 0x60e83c
push dword [esp + 0x20]
push 3
push dword [esp + 0x5c]
push 0x61
push ebp
call fcn.005704c0
mov edi, dword [esp + 0x30]
add esp, 0x1c
mov ecx, dword [ebp + 0x6c]
cmp dword [edi], ecx
jg 0x4daeff
push 0
push dword [esp + 0x3c]
push dword [esp + 0x90]
push 0x7f
push ebp
call fcn.0050f290
mov edx, dword [esp + 0x9c]
add esp, 0x14
jmp 0x4daf38
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 0x4daf58
push dword [esp + 0x38]
push dword [esp + 0x1c]
push edx
push pe_nt_image_headers32
push ebp
call fcn.0050f290
add esp, 0x14
jmp 0x4daf86
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 0x4daf9c
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 0x4dafaf
mov eax, 0x63d108
jmp 0x4dafbb
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 0x4daff8
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 0x4da3f0
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x4db09d
cmp byte [esp + 0x28], cl
je 0x4db09d
mov esi, dword [esp + 0x68]
push esi
push dword [esp + 0x78]
push 0x62
push ebp
call fcn.00570400
push esi
push 0x11
push ebp
call fcn.005703a0
push dword [esp + 0x88]
mov esi, eax
push 0
push 0x4b
push ebp
call fcn.00570400
push 0
push 0x60e83c
push ebx
push 3
push dword [esp + 0x88]
push 0x61
push ebp
call fcn.005704c0
mov edi, dword [esp + 0xd0]
add esp, 0x48
push dword [esp + 0x38]
push edi
push 0x7f
push ebp
call fcn.00570400
push dword [esp + 0x48]
push ebx
push edi
push pe_nt_image_headers32
push ebp
call fcn.00570460
push 8
push ebp
call fcn.005709c0
push esi
push ebp
call fcn.0057b170
add esp, 0x34
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x68
ret