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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov esi, ecx
mov ecx, dword [esp + 0x80]
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
mov ebx, dword [esi + 8]
lea edi, [ecx + 9]
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov ecx, edi
mov dword [esp + 0x28], edi
cmovle eax, edi
mov dword [esi + 0x2c], eax
test ebx, ebx
mov dword [esp + 0x10], edx
jne 0x4d98b6
cmp dword [esi + 0x74], 0
jne 0x4d98a9
mov eax, dword [esp + 0x2c]
test byte [eax + 0x50], 8
jne 0x4d98a9
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.004346f0
mov ebx, eax
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4d98c4
test ebx, ebx
je 0x4d98c4
cmp byte [edx + 0x2b], 0
je 0x4d98cc
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ecx, str.sqlite__
push 0x5c
push 0x52aae7
call fcn.00435580
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4d98c4
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x3c]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x10]
test eax, eax
je 0x4d991c
lea edx, [ecx + 0xc]
mov edi, 0xffffffff
nop dword [eax + eax]
inc edi
lea esi, [edx + 0x10]
cmp dword [edx], eax
mov edx, esi
jne 0x4d9910
jmp 0x4d9921
mov edi, 0xffff8000
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
mov dword [esp + 0x38], edi
shl edi, 4
mov eax, dword [esp + 4]
mov esi, dword [eax]
mov edx, dword [esi + 0x168]
test edx, edx
je 0x4d994b
cmp byte [esi + 0xb1], 0
je 0x4da756
mov esi, ebp
mov edx, dword [esp + 4]
mov ebp, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
add eax, 6
mov dword [esp + 0x44], eax
cmp dword [esp + 0x38], 1
je 0x4d9998
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + edi + 4]
cmp byte [ecx + 9], 0
je 0x4d9998
mov ecx, edx
mov edx, dword [esp + 0x38]
push esi
push 0
mov eax, dword [esp + 0x18]
push dword [eax + 0x14]
call fcn.00493e60
mov edx, dword [esp + 0x10]
add esp, 0xc
lea eax, [ebp + 2]
mov ecx, dword [edx + 0x28]
cmp ecx, eax
cmovg eax, ecx
mov esi, dword [esp + 0x80]
lea ecx, [esi + 4]
mov dword [esp + 0xc], ecx
lea ecx, [esi + 7]
mov dword [esp + 0x48], ecx
mov dword [edx + 0x28], eax
lea eax, [esi + 8]
mov dword [esp + 0x34], eax
mov ecx, edx
mov edx, ebp
push 0x70
mov edi, dword [esp + 0x14]
push edi
push dword [esp + 0x40]
call fcn.00493c10
add esp, 0xc
mov ecx, ebx
mov edx, 0x75
push 0
push dword [edi]
push 0
push dword [esp + 0x50]
push 0
call fcn.00493a50
add esp, 0x14
mov eax, dword [edi + 8]
test eax, eax
je 0x4da6f2
mov edx, edi
mov ecx, eax
lea eax, [esi + 1]
mov dword [esp + 0x4c], eax
lea eax, [esi + 2]
mov dword [esp + 0x14], eax
lea eax, [esi + 3]
mov dword [esp + 0x58], eax
lea eax, [esi + 5]
mov dword [esp + 0x54], eax
lea eax, [ebp + 1]
mov dword [esp + 8], eax
lea esi, [ebx + 0x6c]
lea eax, [ebx + 0x68]
mov dword [esp], eax
mov al, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov ebp, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x50], ebx
jmp 0x4d9a66
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
je 0x4da6fc
test eax, eax
je 0x4d9a6e
cmp ebp, eax
jne 0x4d9a5b
mov eax, dword [ebp + 0x24]
test eax, eax
mov ecx, dword [esp + 0x40]
movzx ecx, cl
cmove ecx, eax
mov dword [esp + 0x40], ecx
movzx ecx, word [ebp + 0x37]
test byte [edx + 0x1c], 0x80
je 0x4d9ab0
mov eax, ecx
and eax, 3
cmp ax, 2
jne 0x4d9ab0
movzx edi, word [ebp + 0x32]
mov eax, dword [edx]
mov dword [esp + 0x18], edi
jmp 0x4d9ac4
movzx edi, word [ebp + 0x34]
mov eax, dword [ebp]
test cl, 8
mov dword [esp + 0x18], edi
je 0x4d9ac4
movzx edi, word [ebp + 0x32]
mov ecx, ebx
mov edx, 0x75
push 0
push eax
push 0
push dword [esp + 0x54]
push 0
call fcn.00493a50
add esp, 0x14
mov edx, dword [esp + 4]
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
add ecx, edi
dec ecx
cmp eax, ecx
cmovg ecx, eax
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jle 0x4d9b40
lea edx, [ecx + 1]
mov dword [esi], edx
mov edx, dword [esp]
mov edx, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x70
mov esi, dword [esp + 8]
mov dword [edx + ecx*4 + 4], esi
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0x38]
mov dword [edx + ecx*4 + 0xc], eax
mov dword [edx + ecx*4 + 0x10], 0
mov ecx, dword [esp + 4]
jmp 0x4d9b5c
mov ecx, ebx
mov edx, 0x70
push dword [esp + 0x38]
push eax
push dword [esp + 0x10]
call fcn.004747e0
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov edi, dword [esp + 0x18]
mov esi, dword [ecx + 8]
mov edx, ebp
call fcn.00493ff0
test eax, eax
je 0x4d9ba1
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4d9b8f
cmp dword [ecx + 0x210], 0
jne 0x4d9ba1
dec dword [eax]
jne 0x4d9ba1
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.0043f4f0
jmp 0x4d9ba1
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
lea edx, [edx + edx*4]
mov byte [ecx + edx*4 - 0x13], 0xf8
mov dword [ecx + edx*4 - 4], eax
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4d9bf0
lea ecx, [eax + 1]
mov esi, dword [esp + 0x24]
mov dword [esi], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x47
mov dword [ecx + eax*4 + 4], edi
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
mov edi, dword [esp + 0xc]
jmp 0x4d9c0e
mov ecx, ebx
mov edx, 0x47
push 0
push dword [esp + 0x18]
push edi
call fcn.004747e0
add esp, 0xc
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
movzx eax, word [ebp + 0x32]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jle 0x4d9c50
lea edx, [ecx + 1]
mov dword [esi], edx
mov edx, dword [esp]
mov edx, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x47
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [esp + 0x58]
mov dword [edx + ecx*4 + 8], eax
mov dword [edx + ecx*4 + 0xc], 0
mov dword [edx + ecx*4 + 0x10], 0
jmp 0x4d9c66
mov ecx, ebx
mov edx, 0x47
push 0
push dword [esp + 0x5c]
push eax
call fcn.004747e0
add esp, 0xc
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jle 0x4d9cb0
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [esp]
mov eax, dword [eax]
mov dword [esp + 0x5c], ecx
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x23
mov edx, dword [esp + 8]
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
jmp 0x4d9ccb
mov ecx, ebx
mov edx, 0x23
push 0
push 0
push dword [esp + 0x10]
call fcn.004747e0
add esp, 0xc
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4d9d10
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x62
mov edx, dword [esp + 8]
mov dword [ecx + eax*4 + 4], edx
mov dword [ecx + eax*4 + 8], edi
mov dword [ecx + eax*4 + 0xc], 1
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4d9d26
mov ecx, ebx
mov edx, 0x62
push 1
push edi
push dword [esp + 0x10]
call fcn.004747e0
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1ec]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jle 0x4d9d70
lea edx, [ecx + 1]
mov dword [esi], edx
mov edx, dword [esp]
mov edx, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x47
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [esp + 0x54]
mov dword [edx + ecx*4 + 8], eax
mov dword [edx + ecx*4 + 0xc], 0
mov dword [edx + ecx*4 + 0x10], 0
jmp 0x4d9d86
mov ecx, ebx
mov edx, 0x47
push 0
push dword [esp + 0x58]
push eax
call fcn.004747e0
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov edx, 0x2c
push 0
call fcn.0043f5f0
add esp, 4
test eax, eax
je 0x4d9df7
mov dword [eax], 0
mov dword [eax + 4], 0x533d04
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov byte [eax + 0x1a], 4
mov ecx, dword [edi + 0x6c]
mov dword [eax + 0x10], ecx
mov ecx, edi
mov edx, 0x42
push 0xfffffffffffffff1
push eax
push dword [esp + 0x54]
push dword [esp + 0x20]
push 0
call fcn.00493a50
add esp, 0x14
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4d9df7
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 0
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4d9e40
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x47
mov dword [ecx + eax*4 + 4], 0
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4d9e57
mov ecx, ebx
mov edx, 0x47
push 0
push dword [esp + 0x18]
push 0
call fcn.004747e0
add esp, 0xc
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x1c]
cmp edi, 2
mov dword [esp + 0x30], ebp
jb 0x4d9ed0
dec edi
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x60], ecx
dec ecx
mov dword [esp + 0x3c], ecx
mov dword [eax + 0x38], ecx
lea edx, [edi*4]
mov ecx, dword [esp + 0x2c]
push 0
call fcn.0043f5f0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x4d9a53
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4d9edb
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4], 8
xorps xmm0, xmm0
movups xmmword [ecx + eax*4 + 1], xmm0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4d9ef0
mov ecx, dword [esi]
mov dword [esp + 0x20], ecx
jmp 0x4da260
mov ecx, ebx
mov edx, 8
push 0
push 0
push 0
call fcn.004747e0
add esp, 0xc
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp edi, 1
jne 0x4d9f60
cmp word [ebp + 0x32], 1
jne 0x4d9f60
cmp byte [ebp + 0x36], 0
je 0x4d9f60
mov ecx, dword [esp + 0x20]
cmp dword [ebx + 0x70], ecx
jle 0x4d9f47
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [esp]
mov eax, dword [eax]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x33
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d9f60
mov ecx, ebx
mov edx, 0x33
push 0
push dword [esp + 0x40]
push dword [esp + 0x30]
call fcn.004747e0
add esp, 0xc
xor ebp, ebp
mov dword [esp + 0x1c], edi
jmp 0x4d9f7d
inc ebp
mov edi, dword [esp + 0x1c]
cmp edi, ebp
je 0x4da0b7
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ebp*4]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
movzx eax, byte [ecx + 0x54]
movzx edi, byte [ecx + 0xb1]
movzx ebx, al
mov edx, ebx
push edi
push esi
call fcn.004707b0
add esp, 8
test edi, edi
jne 0x4d9fc5
test eax, eax
je 0x4d9fb5
cmp dword [eax + 0xc], 0
jne 0x4d9fc5
mov ecx, dword [esp + 4]
mov edx, ebx
push esi
push eax
call fcn.004761e0
add esp, 8
mov edi, eax
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0xc]
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da010
lea ecx, [eax + 1]
mov edx, dword [esp + 0x24]
mov dword [edx], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x47
mov dword [ecx + eax*4 + 4], ebp
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da026
mov ecx, ebx
mov edx, 0x47
push 0
push dword [esp + 0x18]
push ebp
call fcn.004747e0
add esp, 0xc
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da060
lea ecx, [eax + 1]
mov edx, dword [esp + 0x24]
mov dword [edx], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x5e
mov edx, dword [esp + 8]
mov dword [ecx + eax*4 + 4], edx
mov dword [ecx + eax*4 + 8], ebp
mov dword [ecx + eax*4 + 0xc], esi
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da075
mov ecx, ebx
mov edx, 0x5e
push esi
push ebp
push dword [esp + 0x10]
call fcn.004747e0
add esp, 0xc
mov eax, dword [esp + 0x28]
add eax, ebp
mov ecx, ebx
mov edx, 0x34
push 0xfffffffffffffffe
push edi
push eax
push 0
push esi
call fcn.00493a50
add esp, 0x14
mov ecx, dword [esp + 0x18]
mov dword [ecx + ebp*4], eax
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4d9f70
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 0x80
jmp 0x4d9f70
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da0f5
lea ecx, [eax + 1]
mov esi, dword [esp + 0x24]
mov dword [esi], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x47
mov dword [ecx + eax*4 + 4], edi
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da10f
mov ecx, ebx
mov edx, 0x47
push 0
push dword [esp + 0x18]
push edi
call fcn.004747e0
add esp, 0xc
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da14d
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 8
mov dword [ecx + eax*4 + 4], 0
mov edx, dword [esp + 0x3c]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da164
mov ecx, ebx
mov edx, 8
push 0
push dword [esp + 0x40]
push 0
call fcn.004747e0
add esp, 0xc
mov edx, dword [ebx]
mov eax, dword [ebx + 0x6c]
mov ecx, 0x53e0e4
cmp byte [edx + 0x57], 0
jne 0x4da18b
mov ecx, dword [esp + 0x20]
test ecx, ecx
cmovle ecx, eax
lea ecx, [ecx + ecx*4]
mov edx, dword [esp]
mov edx, dword [edx]
lea ecx, [edx + ecx*4]
add ecx, 0xffffffec
mov dword [ecx + 8], eax
xor edi, edi
jmp 0x4da1d7
lea edx, [ecx + 1]
mov dword [esi], edx
mov edx, dword [esp]
mov edx, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x5e
mov esi, dword [esp + 8]
mov dword [edx + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov dword [edx + ecx*4 + 8], edi
mov dword [edx + ecx*4 + 0xc], eax
mov dword [edx + ecx*4 + 0x10], 0
inc edi
cmp dword [esp + 0x1c], edi
je 0x4da229
mov edx, dword [ebx]
mov eax, dword [ebx + 0x6c]
mov ecx, 0x53e0e4
cmp byte [edx + 0x57], 0
jne 0x4da201
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + edi*4]
lea edx, [eax - 1]
test ecx, ecx
cmovns edx, ecx
lea ecx, [edx + edx*4]
shl ecx, 2
mov edx, dword [esp]
add ecx, dword [edx]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x28]
add eax, edi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4da1a0
mov ecx, ebx
mov edx, 0x5e
push eax
push edi
push dword [esp + 0x10]
call fcn.004747e0
add esp, 0xc
jmp 0x4da1d0
mov ecx, dword [ebx + 0xc]
mov edi, dword [esp + 0x60]
neg edi
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0x3c]
js 0x4da244
mov eax, dword [esi]
mov ecx, dword [ecx + 0x40]
mov dword [ecx + edi*4], eax
jmp 0x4da24f
mov edx, ebx
push edi
call fcn.0049d4a0
add esp, 4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
call fcn.0043f4f0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov edx, 0x24
push 0
call fcn.0043f5f0
add esp, 4
test eax, eax
je 0x4da2cd
mov dword [eax], 0
mov dword [eax + 4], 0x533d2c
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov byte [eax + 0x1a], 2
mov ecx, dword [edi + 0x6c]
mov dword [eax + 0x10], ecx
mov ecx, edi
mov edx, 0x42
push 0xfffffffffffffff1
push eax
push dword [esp + 0x14]
push dword [esp + 0x58]
push 1
call fcn.00493a50
add esp, 0x14
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4da2cd
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 0
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x1ec], 0
mov ebp, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x70]
je 0x4da320
cmp eax, ebp
mov edi, dword [esp + 0xc]
jle 0x4da367
lea eax, [ebp + 1]
mov dword [esi], eax
mov eax, dword [esp]
mov eax, dword [eax]
lea ecx, [ebp*4]
add ecx, ebp
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4da37d
cmp eax, ebp
jle 0x4da538
lea eax, [ebp + 1]
mov dword [esi], eax
mov eax, dword [esp]
mov eax, dword [eax]
lea ecx, [ebp*4]
add ecx, ebp
mov dword [eax + ecx*4], 0x26
mov edx, dword [esp + 8]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4da551
mov ecx, ebx
mov edx, 0x32
push 0
push 0
push edi
call fcn.004747e0
add esp, 0xc
mov ebp, eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jle 0x4da3bb
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [esp]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4da3d3
mov ecx, ebx
mov edx, 0xf
push 0
push 0
push edi
call fcn.004747e0
add esp, 0xc
mov dword [esp + 0x1c], eax
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jle 0x4da411
lea eax, [edi + 1]
mov dword [esi], eax
mov eax, dword [esp]
mov eax, dword [eax]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4], 0x17
mov edx, dword [esp + 8]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4da42c
mov ecx, ebx
mov edx, 0x17
push dword [esp + 0x28]
push 0
push dword [esp + 0x10]
call fcn.004747e0
add esp, 0xc
mov edi, eax
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4da43d
mov eax, dword [esi]
mov ecx, 0x53e0e4
jmp 0x4da480
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov edx, dword [ebx]
mov eax, dword [ebx + 0x6c]
mov ecx, 0x53e0e4
cmp byte [edx + 0x57], 0
jne 0x4da480
lea ecx, [eax - 1]
test ebp, ebp
cmovns ecx, ebp
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [esp]
add ecx, dword [edx]
nop word cs:[eax + eax]
mov ebp, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da4c5
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x26
mov edx, dword [esp + 8]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da4de
mov ecx, ebx
mov edx, 0x26
push 0
push dword [esp + 0x24]
push dword [esp + 0x10]
call fcn.004747e0
add esp, 0xc
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x6c]
mov eax, 0x53e0e4
cmp byte [edx + 0x57], 0
mov edx, 0x53e0e4
jne 0x4da512
lea edx, [ecx - 1]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
test edi, edi
cmovns edx, edi
lea edx, [edx + edx*4]
shl edx, 2
mov edi, dword [esp]
add edx, dword [edi]
mov edi, dword [esp + 0x18]
mov dword [edx + 8], ecx
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x6c]
cmp byte [edx + 0x57], 0
jne 0x4da533
lea eax, [ecx - 1]
test edi, edi
cmovns eax, edi
lea eax, [eax + eax*4]
shl eax, 2
mov edx, dword [esp]
add eax, dword [edx]
mov dword [eax + 8], ecx
jmp 0x4da555
mov ecx, ebx
mov edx, 0x26
push 0
push dword [esp + 0x24]
push dword [esp + 0x10]
call fcn.004747e0
add esp, 0xc
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov edx, 0x20
push 0
call fcn.0043f5f0
add esp, 4
test eax, eax
je 0x4da5c6
mov dword [eax], 0
mov dword [eax + 4], 0x533d6c
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov byte [eax + 0x1a], 1
mov ecx, dword [edi + 0x6c]
mov dword [eax + 0x10], ecx
mov ecx, edi
mov edx, 0x42
push 0xfffffffffffffff1
push eax
push dword [esp + 0x3c]
push dword [esp + 0x58]
push 0
call fcn.00493a50
add esp, 0x14
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4da5c6
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 0
mov ecx, ebx
mov edx, 0x61
push 0
push 0x533d54
mov edi, dword [esp + 0x14]
push edi
push 3
push dword [esp + 0x54]
call fcn.00493a50
add esp, 0x14
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da630
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x7f
mov edx, dword [esp + 0x7c]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da64f
mov ecx, ebx
mov edx, 0x7f
push 0
push dword [esp + 0x84]
push dword [esp + 0x84]
call fcn.004747e0
add esp, 0xc
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da690
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x80
mov edx, dword [esp + 0x7c]
mov dword [ecx + eax*4 + 4], edx
mov dword [ecx + eax*4 + 8], edi
mov edx, dword [esp + 0x80]
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da6ae
mov ecx, ebx
mov edx, 0x80
push dword [esp + 0x80]
push edi
push dword [esp + 0x84]
call fcn.004747e0
add esp, 0xc
mov eax, dword [esi]
test eax, eax
jle 0x4da6c5
mov ecx, dword [esp]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 8
mov eax, dword [esi]
mov edx, dword [ebx]
mov ecx, 0x53e0e4
cmp byte [edx + 0x57], 0
jne 0x4d9a50
lea ecx, [eax - 1]
mov edx, dword [esp + 0x5c]
test edx, edx
cmovns ecx, edx
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [esp]
add ecx, dword [edx]
jmp 0x4d9a50
mov al, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
test eax, eax
mov esi, dword [esp + 0x80]
jne 0x4d98c4
cmp byte [esp + 0x40], 0
je 0x4d98c4
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da770
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x62
mov edx, dword [esp + 0x84]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da78c
mov eax, dword [esp + 4]
cmp byte [eax + 0xd0], 0
je 0x4da939
mov esi, ebp
mov edx, eax
jmp 0x4d9951
mov ecx, ebx
mov edx, 0x62
push 0
push dword [esp + 0x38]
push dword [esp + 0x8c]
call fcn.004747e0
add esp, 0xc
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jle 0x4da7c9
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4], 0x10
mov edx, dword [esp + 0x34]
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
jmp 0x4da7e2
mov ecx, ebx
mov edx, 0x10
push 0
push 0
push dword [esp + 0x3c]
call fcn.004747e0
add esp, 0xc
mov edi, eax
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da81f
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x4b
mov dword [ecx + eax*4 + 4], 0
mov edx, dword [esp + 0x48]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da836
mov ecx, ebx
mov edx, 0x4b
push 0
push dword [esp + 0x4c]
push 0
call fcn.004747e0
add esp, 0xc
mov ecx, ebx
mov edx, 0x61
push 0
push 0x533d54
push dword [esp + 0x14]
push 3
push dword [esp + 0x54]
call fcn.00493a50
add esp, 0x14
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da88f
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x7f
mov edx, dword [esp + 0x7c]
mov dword [ecx + eax*4 + 4], edx
mov dword [ecx + eax*4 + 8], esi
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da8a8
mov ecx, ebx
mov edx, 0x7f
push 0
push esi
push dword [esp + 0x84]
call fcn.004747e0
add esp, 0xc
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4da8e1
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x80
mov edx, dword [esp + 0x7c]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], esi
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4da8fc
mov ecx, ebx
mov edx, 0x80
push esi
push dword [esp + 0x10]
push dword [esp + 0x84]
call fcn.004747e0
add esp, 0xc
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4da913
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 8
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebx]
mov ecx, 0x53e0e4
cmp byte [edx + 0x57], 0
jne 0x4da931
lea ecx, [eax - 1]
test edi, edi
cmovns ecx, edi
lea ecx, [ecx + ecx*4]
shl ecx, 2
add ecx, dword [ebx + 0x68]
mov dword [ecx + 8], eax
jmp 0x4d98c4
push dword [eax + 0xf8]
push dword [ecx + edi]
push 0
push ebp
push 0x1c
push dword [esi + 0x16c]
call edx
add esp, 0x18
cmp eax, 1
jne 0x4da963
mov esi, 0x17
mov eax, str.not_authorized
jmp 0x4da978
test eax, 0xfffffffd
mov ecx, dword [esp + 0x10]
je 0x4da98e
mov esi, 1
mov eax, str.authorizer_malfunction
push eax
mov edi, dword [esp + 8]
push edi
call fcn.00434540
add esp, 8
mov dword [edi + 0xc], esi
jmp 0x4d98c4
test eax, eax
mov edx, dword [esp + 4]
jne 0x4d98c4
mov esi, dword [ecx]
jmp 0x4d9951