Function at 0x536b10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov eax, 0x6d2e58
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x536b4d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp + 0x18]
mov dword [ebx], 0
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x536b76
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x536b72
imul eax, dword [ebx]
jmp 0x536b67
mov ecx, eax
test ecx, ecx
je 0x536b95
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x536b8e
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x536b7c
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
cmp dword [ebp + 0x10], 1
jne 0x536bd0
mov eax, str.SELECT__FROM_register_order_WHERE
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536bc7
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536c27
cmp dword [ebp + 0x10], 2
jne 0x536bf9
mov eax, str.SELECT__FROM_claim_order_WHERE
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536bf0
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536c27
cmp dword [ebp + 0x10], 3
jne 0x536c22
mov eax, str.SELECT__FROM_Invalid_order_WHERE
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536c19
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536c27
jmp 0x536f2b
cmp dword [ebp + 8], 0
je 0x536c70
push 0x6b4d58
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x6b61ff
push dword [ebp - 4]
mov ecx, 4
call fcn.0040108c
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536c67
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536caa
push 0x6b4d58
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x6b622e
push dword [ebp - 4]
mov ecx, 4
call fcn.0040108c
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536ca6
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 1
jne 0x536ce9
push 0x6d28eb
push dword [ebp - 4]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536ce0
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536e5e
cmp dword [ebp + 0x14], 2
jne 0x536d28
push 0x6d2907
push dword [ebp - 4]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536d1f
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536e5e
cmp dword [ebp + 0x14], 3
jne 0x536d67
push 0x6d2edf
push dword [ebp - 4]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536d5e
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536e5e
cmp dword [ebp + 0x14], 4
jne 0x536da6
push 0x6d2f19
push dword [ebp - 4]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536d9d
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536e5e
cmp dword [ebp + 0x14], 5
jne 0x536de5
push 0x6d2f31
push dword [ebp - 4]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536ddc
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536e5e
cmp dword [ebp + 0x14], 6
jne 0x536e24
push 0x6d2f49
push dword [ebp - 4]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536e1b
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x536e5e
cmp dword [ebp + 0x14], 7
jne 0x536e5e
push 0x6d2f61
push dword [ebp - 4]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536e5a
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x6b4d58
push dword [0x84b794]
push 0x6d2a5b
push dword [ebp - 4]
mov ecx, 4
call fcn.0040108c
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536e95
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
cmp dword [ebp + 0x10], 1
je 0x536ec0
cmp dword [ebp + 0x10], 3
je 0x536ec0
xor eax, eax
jmp 0x536ec5
mov eax, 1
test eax, eax
je 0x536eed
push dword [ebp + 0x1c]
lea eax, [ebp - 4]
push eax
push 0x1f
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
cmp dword [ebp + 0x10], 2
jne 0x536f17
push dword [ebp + 0x1c]
lea eax, [ebp - 4]
push eax
push 0x17
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
jmp 0x536f2b
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x536f3b
push ebx
call fcn.005dc820
add esp, 4
mov esp, ebp
pop ebp
ret 0x18