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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0xa0]
cmp dword [ebp], 0
je 0x408f15
mov ebx, dword [esp + 0xa4]
mov eax, dword [ebx]
lea edi, [esp + 0x68]
mov ecx, edi
push ebx
call dword [eax + 0x1c]
movzx eax, byte [esp + 0x78]
cmp eax, 1
je 0x408f24
test eax, eax
jne 0x408f80
mov word [esp + 0x24], 0x100
jmp 0x408f63
mov eax, dword [esp + 4]
mov dword [eax], 0
jmp 0x409160
mov dword [esp + 0x14], str.Error_in
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov word [esp + 0x24], 0x103
xor eax, eax
test al, al
jne 0x40906a
mov al, 3
mov ecx, 3
test ecx, 3
jne 0x408fb4
mov word [esp + 0x50], 0x100
mov al, 1
mov dword [esp], eax
xor eax, eax
cmp byte [ebx + 0xc], 0
jne 0x408fff
jmp 0x40908f
cmp byte [esp + 0x79], 1
cmove edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
movzx edx, al
mov eax, 2
cmove eax, edx
mov dword [esp + 0x14], str.Error_in
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
mov byte [esp + 0x24], 3
mov byte [esp + 0x25], al
mov al, 3
cmp byte [esp + 0x25], 1
lea ecx, [esp + 0x14]
cmove ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
movzx edx, al
mov eax, 2
cmove eax, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], str._statement__ID
mov byte [esp + 0x50], al
mov byte [esp + 0x51], 3
mov dword [esp], 0
cmp byte [ebx + 0xc], 0
je 0x40908f
mov edi, dword [ebx + 4]
mov bl, 9
cmp al, 1
je 0x40909f
movzx esi, al
test esi, esi
jne 0x40902a
mov word [esp + 0x38], 0x100
mov cl, 1
xor eax, eax
mov ebp, dword [esp + 0xa0]
jmp 0x4090da
cmp byte [esp], 0
lea eax, [esp + 0x40]
cmovne eax, ecx
mov ecx, edx
mov edx, 2
cmovne edx, esi
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], bl
xor ecx, ecx
mov edi, eax
mov ebx, edx
mov ebp, dword [esp + 0xa0]
jmp 0x4090b4
mov dword [esp + 0x40], str._statement__ID
mov ecx, str._statement__ID
mov word [esp + 0x50], 0x103
mov al, 3
mov dl, 1
mov dword [esp], edx
cmp byte [ebx + 0xc], 0
jne 0x408fff
mov edi, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov bl, 5
cmp al, 1
jne 0x40900c
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], 1
mov cl, 1
mov esi, edx
test cl, cl
lea ecx, [esp + 0x28]
cmovne ecx, edi
movzx edx, bl
mov eax, 2
cmovne eax, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], 0x41ee8a
mov cl, 3
mov byte [esp + 0x64], al
mov byte [esp + 0x65], cl
call fcn.0041cbd2
mov edi, eax
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x16
sub esp, 0xc
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x60]
mov dword [esp], eax
mov ecx, ebx
call fcn.0041c9a4
mov eax, dword [ebp]
mov dword [ebp], 0
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push ecx
push dword [esp + 0xc]
call fcn.0040dcc0
add esp, 0xc
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x409153
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x409160
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 4]
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret 0xc