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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006937e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x100814cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [edi + 0x3c], esi
mov eax, dword [0x100ada34]
mov ebx, ecx
mov dword [ebp - 0xa0], esi
cmp dword [eax + 0x288], esi
je 0x1004b8cb
mov edx, dword [eax + 0x28c]
cmp edx, dword [eax + 0x290]
lea ecx, [eax + 0x28c]
je 0x1004b8cb
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebx + 0x1c]
push edx
lea eax, [ebx + 0xa8]
push eax
push ecx
mov dword [ebp - 4], esi
call fcn.1003f500
test eax, eax
je 0x1004b8ad
cmp dword [ebp - 0x18], 0x10
jb 0x1004b88b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1004f1bb
add esp, 4
mov dword [edi], esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f1ac
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x1004b8c6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1004f1bb
add esp, 4
mov eax, dword [0x100ada34]
cmp dword [eax + 0x24c], esi
je 0x1004ba29
cmp dword [ebx + 0x80], esi
je 0x1004ba29
lea ecx, [ebp - 0xa0]
add eax, 0x250
push ecx
push eax
lea eax, [ebx + 0x70]
call fcn.1002ed30
test eax, eax
je 0x1004ba24
push 0xb
push str.GET
lea ecx, [edi + 0x5c]
call fcn.10002780
push 0x15
lea esi, [edi + 4]
push 0x10074de4
mov ecx, esi
call fcn.10002780
mov edx, dword [ebp - 0xa0]
push 0
push edx
or eax, 0xffffffff
call fcn.1000a2f0
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x48], 0
je 0x1004b96d
push 2
mov eax, 0x10072c3c
mov ecx, esi
call fcn.10008c50
mov eax, dword [ebp - 0xa0]
add eax, 0x38
push 0
push eax
or eax, 0xffffffff
call fcn.1000a2f0
push 2
mov eax, 0x10072c30
mov ecx, esi
call fcn.10008c50
xor eax, eax
push 7
mov esi, 1
push str.sql_get
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x3c], esi
mov dword [edi + 0x84], esi
mov dword [edi + 0x78], 5
mov dword [edi + 0x7c], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.10002780
mov dword [ebp - 4], esi
mov ecx, dword [ebx + 0x210]
push ecx
lea esi, [ebp - 0x48]
call fcn.10005bc0
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa0]
add edx, 0x54
push edx
push 0x10083a40
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.100422f0
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x1004b9eb
mov eax, dword [ebp - 0x48]
push eax
call fcn.1004f1bb
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], esi
jb 0x1004ba15
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1004f1bb
add esp, 4
mov dword [ebx + 0x2b8], 1
jmp 0x1004bedc
mov eax, dword [0x100ada34]
cmp dword [eax + 0x260], esi
je 0x1004bb80
cmp dword [ebx + 0xd4], esi
je 0x1004bb80
lea edx, [ebp - 0xa0]
add eax, 0x264
push edx
push eax
lea eax, [ebx + 0xc4]
call fcn.1002ed30
test eax, eax
je 0x1004bb7b
push 0xc
push str.POST
lea ecx, [edi + 0x5c]
call fcn.10002780
push 0x15
lea esi, [edi + 4]
push 0x10074de4
mov ecx, esi
call fcn.10002780
mov eax, dword [ebp - 0xa0]
push 0
push eax
or eax, 0xffffffff
call fcn.1000a2f0
mov ecx, dword [ebp - 0xa0]
cmp dword [ecx + 0x48], 0
je 0x1004bace
push 2
mov eax, 0x10072c3c
mov ecx, esi
call fcn.10008c50
mov eax, dword [ebp - 0xa0]
add eax, 0x38
push 0
push eax
or eax, 0xffffffff
call fcn.1000a2f0
push 2
mov eax, 0x10072c30
mov ecx, esi
call fcn.10008c50
mov eax, 1
mov dword [edi + 0x3c], eax
mov dword [edi + 0x84], eax
xor eax, eax
push 8
push str.sql_post
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x78], 5
mov dword [edi + 0x7c], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.10002780
mov dword [ebp - 4], 3
mov edx, dword [ebx + 0x210]
push edx
lea esi, [ebp - 0x48]
call fcn.10005bc0
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa0]
add ecx, 0x54
push ecx
push 0x10083a40
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.100422f0
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x1004bb50
mov edx, dword [ebp - 0x48]
push edx
call fcn.1004f1bb
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], esi
jb 0x1004ba15
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x1004ba0d
mov eax, dword [0x100ada34]
cmp dword [eax + 0x274], esi
je 0x1004b88b
cmp dword [ebx + 0x1b8], esi
je 0x1004b88b
lea ecx, [ebp - 0xa0]
add eax, 0x278
push ecx
push eax
lea eax, [ebx + 0x1a8]
call fcn.1002ed30
test eax, eax
je 0x1004b88b
push 0x12
push str.Header
lea ecx, [edi + 0x5c]
call fcn.10002780
push 0x15
lea esi, [edi + 4]
push 0x10074de4
mov ecx, esi
call fcn.10002780
mov edx, dword [ebp - 0xa0]
push 0
push edx
or eax, 0xffffffff
call fcn.1000a2f0
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
cmp dword [eax + 0x48], ecx
je 0x1004bc28
push esi
mov eax, 0x10074e34
call fcn.10008d70
mov eax, dword [ebp - 0xa0]
add eax, 0x38
push 0
push eax
or eax, 0xffffffff
call fcn.1000a2f0
push esi
mov eax, 0x10072c30
call fcn.10008d70
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
mov edx, 0xf
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 6
mov edx, dword [eax + 0x70]
cmp edx, dword [eax + 0x74]
je 0x1004bd4f
cmp dword [edx + 0x10], ecx
je 0x1004bd4f
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebx + 0x1c8]
sub ecx, dword [ebx + 0x1c4]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x1004bd4f
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x70]
mov ecx, dword [ebx + 0x1c4]
add ecx, dword [ebp - 0xa4]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1004bcb6
mov eax, dword [eax]
push edx
push eax
add ecx, 0x20
push ecx
xor eax, eax
call fcn.10008ec0
cmp eax, 0xffffffff
jne 0x1004bcfe
mov ecx, dword [ebx + 0x1c8]
sub ecx, dword [ebx + 0x1c4]
inc dword [ebp - 0xa8]
add dword [ebp - 0xa4], 0x3c
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xa8], eax
jb 0x1004bc96
jmp 0x1004bd49
mov ecx, dword [ebp - 0xa8]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [ebx + 0x1c4]
add eax, eax
add eax, eax
push 0xffffffffffffffff
mov dword [ebp - 0xa4], eax
lea eax, [eax + ecx + 4]
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002690
mov edx, dword [ebx + 0x1c4]
mov eax, dword [ebp - 0xa4]
push 0xffffffffffffffff
lea eax, [eax + edx + 0x20]
push 0
push eax
lea ecx, [ebp - 0x48]
call fcn.10002690
cmp dword [ebp - 0x1c], 0
jne 0x1004bd5e
push 8
push 0x10072c64
lea ecx, [ebp - 0x2c]
call fcn.10002780
push 9
mov eax, 0x10074e40
mov ecx, esi
call fcn.10008c50
push 0
lea ecx, [ebp - 0x2c]
push ecx
or eax, 0xffffffff
call fcn.1000a2f0
push 2
mov eax, 0x10074e4c
mov ecx, esi
call fcn.10008c50
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x48]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.10002690
lea ecx, [ebp - 0x9c]
call fcn.1000c420
push 0
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 7
call fcn.1000a2f0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x88], 0x10
jb 0x1004bde7
mov eax, dword [ebp - 0x9c]
push eax
call fcn.1004f1bb
add esp, 4
push 2
mov eax, 0x10072c30
mov ecx, esi
call fcn.10008c50
mov eax, 1
mov dword [edi + 0x3c], eax
mov dword [edi + 0x84], eax
xor eax, eax
push 0xa
push str.sql_header
lea ecx, [ebp - 0x64]
mov dword [edi + 0x78], 5
mov dword [edi + 0x7c], eax
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x64], al
call fcn.10002780
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 0x210]
push ecx
lea esi, [ebp - 0x80]
call fcn.10005bc0
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xa0]
add edx, 0x54
push edx
push 0x10083a40
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.100422f0
mov esi, 0x10
cmp dword [ebp - 0x6c], esi
jb 0x1004be74
mov eax, dword [ebp - 0x80]
push eax
call fcn.1004f1bb
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp dword [ebp - 0x50], esi
jb 0x1004be97
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1004f1bb
add esp, 4
mov dword [ebx + 0x2b8], 1
cmp dword [ebp - 0x34], esi
jb 0x1004beb2
mov edx, dword [ebp - 0x48]
push edx
call fcn.1004f1bb
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], esi
jb 0x1004bedc
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1004f1bb
add esp, 4
push 0xb
push str.SQL
lea ecx, [edi + 0x40]
call fcn.10002780
push 1
mov esi, 0xf
push 0x100711c0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.10002780
mov dword [ebp - 4], 0xa
push 6
push str.invade
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
call fcn.10002780
mov byte [ebp - 4], 0xb
mov ecx, dword [ebx + 0x210]
push ecx
lea esi, [ebp - 0x9c]
call fcn.10005bc0
add esp, 4
lea edx, [ebp - 0x80]
push edx
push 0x10083a40
mov edx, eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.100422f0
mov esi, 0x10
cmp dword [ebp - 0x88], esi
jb 0x1004bf7d
mov eax, dword [ebp - 0x9c]
push eax
call fcn.1004f1bb
add esp, 4
mov ebx, 0xf
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
cmp dword [ebp - 0x50], esi
jb 0x1004bfaa
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1004f1bb
add esp, 4
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x6c], esi
jb 0x1004bfc9
mov edx, dword [ebp - 0x80]
push edx
call fcn.1004f1bb
add esp, 4
mov dword [edi], 2
jmp 0x1004b88d