Function at 0x10039da
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x100c897
call fcn.01008820
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x18]
call sub.framedyn.dll_public:_void___thiscall_CHString::constructor_void_
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
call sub.framedyn.dll_public:_void___thiscall_CHString::constructor_void_
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x34], ebx
je 0x1003c51
call fcn.0100994d
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x1003a3e
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01008d88
jmp 0x1003c51
cmp dword [esi + 0x84], ebx
je 0x1003a88
mov dword [ebp - 0x30], ebx
cmp dword [esi + 0x80], ebx
jbe 0x1003c44
xor edi, edi
mov eax, dword [esi + 0x84]
add eax, edi
mov ecx, dword [esi + 0x58]
cmp ecx, dword [eax + 0x24]
jne 0x1003a72
push ebx
push dword [eax]
push dword [ebp - 0x2c]
call fcn.01009da9
inc dword [ebp - 0x30]
add edi, 0x2c
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x80]
jb 0x1003a57
jmp 0x1003c44
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x34], 0xa
jae 0x1003aa1
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x5c], ebx
inc dword [ebp - 0x34]
jmp 0x1003a8f
push dword [esi + 0x58]
push 0x1001520
lea eax, [ebp - 0x18]
push eax
call sub.framedyn.dll_public:_void___cdecl_CHString::Format_unsigned_short_int_const__
add esp, 0xc
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.01002a0c
mov edi, eax
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 3
push 0x1001414
lea ecx, [ebp - 0x68]
call fcn.01002a0c
mov ecx, eax
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 4
mov eax, dword [edi]
cmp eax, ebx
je 0x1003aec
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
jmp 0x1003aef
mov dword [ebp - 0x70], ebx
mov eax, dword [ecx]
cmp eax, ebx
je 0x1003af9
mov ecx, dword [eax]
jmp 0x1003afb
xor ecx, ecx
mov eax, dword [esi + 0x44]
mov edx, dword [eax]
lea edi, [ebp - 0x28]
push edi
push ebx
push 0x30
push dword [ebp - 0x70]
push ecx
push eax
call dword [edx + 0x50]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
cmp ecx, ebx
je 0x1003b25
call fcn.01002cbe
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
cmp ecx, ebx
je 0x1003b38
call fcn.01002cbe
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x74], ebx
jge 0x1003b45
push dword [ebp - 0x74]
call fcn.010085c3
push dword [esi + 0x50]
push dword [ebp - 0x28]
call fcn.01005766
mov dword [ebp - 0x74], eax
cmp eax, ebx
jge 0x1003b5d
push eax
call fcn.010085c3
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x5c]
push edx
push 0xa
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x74], eax
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x1003b81
mov dword [ebp - 0x24], ecx
jmp 0x1003b8c
cmp eax, 0x40004
je 0x1003c00
cmp eax, ebx
jl 0x1003c00
xor eax, eax
mov dword [ebp - 0x78], eax
cmp eax, dword [ebp - 0x20]
jae 0x1003bdf
lea edi, [ebp + eax*4 - 0x5c]
push 0x138d
call fcn.010098d6
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1001510
push dword [edi]
call fcn.01006874
mov dword [ebp - 0x7c], eax
cmp eax, 1
jne 0x1003bc9
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
call fcn.01009da9
mov eax, dword [edi]
cmp eax, ebx
je 0x1003bd7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
jmp 0x1003b91
cmp dword [ebp - 0x24], ebx
je 0x1003b5d
jmp 0x1003c00
mov dword [ebp - 4], 1
mov dword [ebp - 0x84], ebx
mov edi, dword [ebp - 0x84]
lea edi, [ebp + edi*4 - 0x5c]
mov eax, dword [edi]
cmp eax, ebx
je 0x1003c25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
inc dword [ebp - 0x84]
cmp dword [ebp - 0x84], 0xa
jb 0x1003c0d
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x1003c44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x2c]
push 0xa
push dword [esi + 0x54]
call fcn.0100a538
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4