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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x55c380]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
push edi
mov dword [esi + 0x3c], 2
mov dword [esi + 0x44], ebx
cmp esi, eax
je 0x411fbe
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00402910
mov dword [esi + 0x30], 1
mov dword [esi + 0x60], ebx
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x411fd4
mov edi, dword [esi]
jmp 0x411fd6
mov edi, esi
cmp ecx, 8
jb 0x411fdf
mov edx, dword [esi]
jmp 0x411fe1
mov edx, esi
mov eax, dword [esi + 0x10]
lea edx, [edx + eax*2]
cmp ecx, 8
jb 0x411ff0
mov ecx, dword [esi]
jmp 0x411ff2
mov ecx, esi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x410200
push eax
push edi
call fcn.004039f0
mov eax, dword [esp + 0x18]
lea edi, [esi + 0x18]
add esp, 8
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
cmp edi, eax
je 0x412052
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00402d30
cmp dword [esi + 0x28], ebx
ja 0x4120fe
movaps xmm0, xmmword [0x54e9b0]
mov ecx, dword [edi + 0x14]
movups xmmword [esp + 0x14], xmm0
movaps xmm0, xmmword [0x54e9d0]
movups xmmword [esp + 0x24], xmm0
cmp ecx, 0x10
jb 0x41207f
mov eax, dword [edi]
jmp 0x412081
mov eax, edi
lea edx, [esp + 0x14]
cmp edx, eax
jb 0x4120bf
cmp ecx, 0x10
jb 0x412092
mov edx, dword [edi]
jmp 0x412094
mov edx, edi
mov eax, dword [edi + 0x10]
add eax, edx
lea edx, [esp + 0x14]
cmp eax, edx
jbe 0x4120bf
cmp ecx, 0x10
jb 0x4120aa
mov ecx, dword [edi]
jmp 0x4120ac
mov ecx, edi
push 0x20
lea eax, [esp + 0x18]
sub eax, ecx
mov ecx, edi
push eax
push edi
call fcn.00402d30
jmp 0x4120fe
cmp ecx, 0x20
jae 0x4120d0
push dword [edi + 0x10]
mov ecx, edi
push 0x20
call fcn.00403680
cmp dword [edi + 0x14], 0x10
jb 0x4120da
mov eax, dword [edi]
jmp 0x4120dc
mov eax, edi
push 0x20
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.004f93a0
add esp, 0xc
mov dword [edi + 0x10], 0x20
cmp dword [edi + 0x14], 0x10
jb 0x4120fb
mov edi, dword [edi]
mov byte [edi + 0x20], bl
cmp dword [esi + 0x3c], 1
jne 0x41210d
mov dword [esi + 0x40], 0x10001
jmp 0x412114
mov dword [esi + 0x40], 0x10002
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [esp + 0xc], eax
cmp eax, 2
jl 0x41212d
test ebx, ebx
je 0x4121d9
push dword [esi + 0x40]
mov ecx, esi
call fcn.00412460
push 0
push 0
push 0
push str.pragma_database_list_
push dword [esi + 0x60]
call fcn.0045a580
add esp, 0x14
cmp eax, 5
jne 0x412171
push 1
call edi
push 0
push 0
push 0
push str.pragma_database_list_
push dword [esi + 0x60]
call fcn.0045a580
add esp, 0x14
cmp eax, 5
je 0x412152
mov dword [esi + 0x44], eax
test eax, eax
je 0x4121d2
push 8
push str.Not_a_db
lea ecx, [esi + 0x48]
call fcn.00402c30
push dword [esi + 0x60]
call fcn.00474f20
xor ebx, ebx
mov dword [esi + 0x60], 0
add esp, 4
cmp dword [esi + 0x30], ebx
je 0x4121ad
mov ecx, esi
call fcn.004121f0
mov ebx, eax
test ebx, ebx
je 0x4121b7
mov eax, dword [esp + 0xc]
inc eax
jmp 0x41211c
mov dword [esi + 0x44], 0xffffff22
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00412550
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret 0xc