Function at 0x4184d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d61f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
lea esi, [edi + 4]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi], 0
mov dword [ebp - 0x34], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x18]
mov dword [edi], eax
mov byte [edi + 0x1c], al
mov eax, bind
sub eax, ecx
cmp eax, 9
jb 0x41878c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 9
cmovae eax, dword [ebp + 8]
push str.NeatDB.db
push ecx
push eax
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.004097f0
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x418593
mov ecx, esi
call fcn.00408210
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov ecx, 7
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
jmp 0x418596
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4185cd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4185c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418796
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, esi
call fcn.004102e0
test al, al
jne 0x41866b
push 0x55a200
push 0x76
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x38
mov edi, eax
call fcn.00517390
mov esi, eax
mov dword [ebp - 0x40], esi
push 0x38
push 0
push esi
mov byte [ebp - 4], 2
call fcn.00519680
sub esp, 8
mov ecx, esp
push dword [ebp - 0x34]
call fcn.00408180
mov ecx, esi
call fcn.004084d0
mov esi, eax
mov byte [ebp - 4], 1
push 0x104
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x2c]
call dword [eax + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00408180
call fcn.004104a0
push 0
push 6
mov edx, edi
mov ecx, eax
call fcn.004b5f10
add esp, 0x20
test eax, eax
jne 0x418693
mov byte [edi + 0x1c], 1
cmp byte [edi + 0x1c], 0
je 0x418737
push 0x3d
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.ALTER_TABLE_downloads__ADD_COLUMN__folderpath_TEXT_DEFAULT_
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00402bc0
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [edi]
cmovae edx, dword [ebp - 0x28]
push eax
push 0
push 0x80
push 0xffffffffffffffff
call fcn.00487770
mov esi, dword [ebp - 0x30]
push esi
call fcn.0044cdf0
push esi
call fcn.0044bed0
mov byte [ebp - 4], 1
add esp, 0x1c
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x418730
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418726
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418791
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, edi
call fcn.00418ad0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x41876d
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418763
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418796
push ecx
push edx
call fcn.00517162
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret 0x18
call fcn.00401640
call fcn.0051eb64
call fcn.0051eb64
int3