Function at 0x402ca0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x42867c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
mov esi, edx
mov dx, word [esi + 0x10]
push edi
mov edi, ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov byte [ebp - 0x24], al
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov byte [ebp - 0x13], al
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x69], al
mov byte [ebp - 0x6a], al
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov al, byte [esi + 0x12]
push ecx
mov byte [ebp - 6], al
push str._GJReqMapSvrAuth__::_ID_:__s
push 0x8a2be2
mov eax, 0x42a6d8
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x78], 0xffffffff
xor ebx, ebx
mov word [ebp - 8], dx
call fcn.00407e40
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jle 0x402e7c
movzx ecx, word [esi + 0x1e]
mov eax, 0x433490
cmp dword [eax], ecx
je 0x402d6d
add eax, 0x4c
cmp eax, 0x434070
jne 0x402d53
mov dword [ebp - 0x70], 2
jmp 0x402e83
mov eax, edi
imul eax, eax, 0x4c
mov ecx, dword [eax + 0x433498]
cmp ecx, dword [eax + 0x43349c]
jge 0x402e73
lea edx, [ebp - 0x10]
push edx
call fcn.00401790
cmp eax, 0xffffffff
je 0x402e7c
mov ecx, eax
shl ecx, 4
sub ecx, eax
cmp byte [ecx*4 + 0x43404c], 1
lea eax, [ecx*4 + 0x434038]
jne 0x402e6a
mov edx, dword [esi + 0x20]
cmp edx, dword [eax + 0x24]
jne 0x402d61
mov ecx, dword [esi + 0x24]
cmp ecx, dword [eax + 0x28]
jne 0x402d61
mov edx, dword [esi + 0x28]
cmp edx, dword [eax + 0x2c]
jne 0x402d61
mov ecx, dword [esi + 0x2c]
cmp ecx, dword [eax + 0x30]
jne 0x402d61
movzx edx, word [eax + 0x34]
movzx ecx, word [eax + 0x36]
mov dword [ebp - 0x88], edx
mov dl, byte [eax + 0x38]
mov dword [ebp - 0x7c], ecx
mov cl, byte [eax + 0x39]
mov byte [ebp - 0x69], dl
mov edx, dword [eax + 0x18]
mov byte [eax + 0x14], bl
lea eax, [ebp - 0x10]
push eax
push str.SELECT__FROM_MEMB_INFO_WHERE_memb___id_s
mov edi, 0x67ed00
mov byte [ebp - 0x6a], cl
mov dword [ebp - 0x78], edx
call fcn.00407770
mov ecx, dword [0x67ed14]
add esp, 8
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x402e4c
lea edx, [ebp - 0x24]
push edx
mov ebx, str.sno__numb
call fcn.00407830
mov ebx, str.memb_guid
call fcn.004077a0
mov ebx, str.bloc_code
mov dword [ebp - 0x80], eax
call fcn.004077a0
movzx eax, al
mov dword [ebp - 0x74], eax
mov esi, 0x67ed00
call fcn.00407a40
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x84]
jmp 0x402e83
mov dword [ebp - 0x70], 4
jmp 0x402e83
mov dword [ebp - 0x70], 3
jmp 0x402e83
mov dword [ebp - 0x70], 1
push 0x43
lea ecx, [ebp - 0x67]
push 0
push ecx
call fcn.0040cf60
movzx ecx, word [ebp - 0x7c]
mov edx, dword [esi + 4]
mov word [ebp - 0x48], cx
movzx ecx, byte [ebp - 0x6a]
mov dword [ebp - 0x64], edx
movzx edx, byte [ebp - 0x69]
mov byte [ebp - 0x45], cl
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 0x46], dl
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x40], ecx
movzx ecx, byte [ebp - 0x74]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x80]
mov byte [ebp - 0x26], cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], ecx
movzx ecx, byte [ebp - 6]
mov dword [ebp - 0x60], edx
movzx edx, word [ebp - 8]
mov byte [ebp - 0x56], cl
mov ecx, dword [ebp - 0x20]
mov word [ebp - 0x58], dx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x13]
mov dword [ebp - 0x30], edx
movzx edx, word [ebp - 0x14]
mov dword [ebp - 0x55], ecx
movzx ecx, word [esi + 0x1b]
mov word [ebp - 0x28], dx
mov edx, dword [esi + 0x17]
mov word [ebp - 0x4d], cx
mov dword [ebp - 0x51], edx
movzx edx, byte [esi + 0x1d]
add esp, 0xc
lea ecx, [ebp - 0x68]
push ecx
mov eax, 0x44
mov ecx, edi
mov word [ebp - 0x68], 0x44c1
mov byte [ebp - 0x66], 0x7b
mov word [ebp - 0x4a], bx
mov byte [ebp - 0x4b], dl
call fcn.00404f40
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a0fc
mov esp, ebp
pop ebp
ret