Function at 0x402370
Capabilities:
Hash data with md5
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x42867c]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x63
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov dword [ebp - 0x3f], eax
mov dword [ebp - 0x3b], eax
mov word [ebp - 0x37], ax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov word [ebp - 0x4f], ax
mov byte [ebp - 0x4d], al
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov word [ebp - 0x43], ax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
lea eax, [ebp - 0xdb]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x5c], bl
mov byte [ebp - 0x4c], bl
mov byte [ebp - 0xdc], bl
call fcn.0040cf60
movzx edx, byte [0x4299c8]
movsx ecx, word [esi + 0x18]
xor byte [esi + 3], dl
xor eax, eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov byte [ebp - 0x23], al
movzx eax, byte [0x4299c9]
xor byte [esi + 4], al
mov dword [ebp - 0x1b8], ecx
movzx ecx, byte [0x4299ca]
xor byte [esi + 5], cl
movzx edx, byte [0x4299c8]
xor byte [esi + 6], dl
movzx eax, byte [0x4299c9]
xor byte [esi + 7], al
movzx ecx, byte [0x4299ca]
xor byte [esi + 8], cl
movzx edx, byte [0x4299c8]
xor byte [esi + 9], dl
movzx eax, byte [0x4299c9]
xor byte [esi + 0xa], al
movzx ecx, byte [0x4299ca]
xor byte [esi + 0xb], cl
movzx edx, byte [0x4299c8]
xor byte [esi + 0xc], dl
movzx eax, byte [0x4299c8]
xor byte [esi + 0xd], al
movzx ecx, byte [0x4299c9]
xor byte [esi + 0xe], cl
movzx edx, byte [0x4299ca]
xor byte [esi + 0xf], dl
movzx eax, byte [0x4299c8]
xor byte [esi + 0x10], al
movzx ecx, byte [0x4299c9]
add esp, 0xc
xor byte [esi + 0x11], cl
mov byte [ebp - 0x34], bl
mov dword [ebp - 0x1b4], ebx
mov byte [ebp - 0x110], bl
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x178], 0x67452301
mov dword [ebp - 0x174], 0xefcdab89
mov dword [ebp - 0x170], 0x98badcfe
mov dword [ebp - 0x16c], 0x10325476
mov byte [ebp - 9], 0x30
movzx edx, byte [0x4299ca]
xor byte [esi + 0x12], dl
movzx eax, byte [0x4299c8]
xor byte [esi + 0x13], al
movzx ecx, byte [0x4299c9]
xor byte [esi + 0x14], cl
movzx edx, byte [0x4299ca]
xor byte [esi + 0x15], dl
movzx eax, byte [0x4299c8]
xor byte [esi + 0x16], al
movzx eax, word [esi + 0xb]
mov edx, dword [esi + 7]
mov ecx, dword [esi + 3]
mov word [ebp - 0xc], ax
movzx eax, word [esi + 0x15]
mov dword [ebp - 0x10], edx
mov edx, dword [esi + 0x11]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0xd]
mov dword [ebp - 0x1c], edx
mov edx, dword [esi + 0x1e]
mov word [ebp - 0x18], ax
mov eax, dword [esi + 0x22]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x1a]
mov dword [ebp - 0x6c], edx
movzx edx, byte [esi + 0x2a]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], ecx
mov ecx, dword [esi + 0x26]
lea eax, [ebp - 0x14]
push 0x27
push eax
mov dword [ebp - 0x64], ecx
mov byte [ebp - 0x60], dl
call fcn.0040b340
add esp, 8
test eax, eax
jne 0x4028a8
lea ecx, [ebp - 0x14]
push 0x20
push ecx
call fcn.0040b340
add esp, 8
test eax, eax
jne 0x4028a8
lea edx, [ebp - 0x20]
push 0x27
push edx
call fcn.0040b340
add esp, 8
test eax, eax
jne 0x4028a8
lea eax, [ebp - 0x20]
push 0x20
push eax
call fcn.0040b340
add esp, 8
test eax, eax
jne 0x4028a8
lea ecx, [ebp - 0x14]
push 0x20
push ecx
call fcn.0040b340
add esp, 8
test eax, eax
jne 0x4028a8
lea edx, [ebp - 0x14]
push edx
call fcn.004016c0
test al, al
lea eax, [ebp - 0x14]
push eax
jne 0x402885
push str.SELECT__FROM_MEMB_INFO_WHERE_memb___id_s
mov edi, 0x67ed00
call fcn.00407770
add esp, 8
cmp al, 1
jne 0x40285e
mov ecx, dword [0x67ed14]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
test ax, ax
jne 0x40282d
mov ebx, str.memb_guid
call fcn.004077a0
mov ebx, str.bloc_code
mov dword [ebp - 0x1b4], eax
call fcn.004077a0
lea edx, [ebp - 0x34]
push edx
mov ebx, str.sno__numb
mov edi, eax
call fcn.00407830
lea eax, [ebp - 0x40]
push eax
mov ebx, str.memb___id
call fcn.00407830
mov esi, 0x67ed00
call fcn.00407a40
mov bl, 1
cmp byte [0x433450], bl
jne 0x4026ca
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xdc]
push str.SELECT_memb__pwd_from_MEMB_INFO_where_memb___id_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.004078c0
test eax, eax
jle 0x4026bf
lea esi, [ebp - 0x14]
call fcn.004081f0
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1ac]
call fcn.00405e20
cmp al, bl
jne 0x4026b9
lea edx, [ebp - 0x40]
push edx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4026b9
mov byte [ebp - 0x1ad], bl
jmp 0x402725
lea ecx, [ebp - 0x14]
push ecx
jmp 0x402707
lea edx, [ebp - 0x14]
push edx
push str._JGPAccountRequest__::_Password_is_blank___ID_:__s
jmp 0x40270c
lea eax, [ebp - 0x4c]
push eax
mov ebx, str.memb__pwd
call fcn.00407830
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x20]
push edx
call esi
test eax, eax
jne 0x402703
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
push ecx
call esi
test eax, eax
jne 0x402703
mov byte [ebp - 0x1ad], 1
jmp 0x402725
lea edx, [ebp - 0x14]
push edx
push str._JGPAccountRequest__::_Wrong_Password___ID_:__s
push 0x8a2be2
mov eax, 0x42a6d8
mov byte [ebp - 0x1ad], 0
call fcn.00407e40
add esp, 0xc
mov esi, 0x67ed00
call fcn.00407a40
cmp byte [ebp - 0x1ad], 1
jne 0x402747
test edi, edi
jle 0x402808
mov byte [ebp - 0x1ad], 5
xor ebx, ebx
push 0x2b
lea edx, [ebp - 0x107]
push ebx
push edx
call fcn.0040cf60
movzx edx, word [ebp - 0x1b8]
mov cl, byte [ebp - 0x1ad]
mov byte [ebp - 0x105], cl
mov ecx, dword [ebp - 0x1b4]
mov word [ebp - 0x104], dx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x102], edx
movzx edx, word [ebp - 0xc]
mov dword [ebp - 0xfe], ecx
mov ecx, dword [ebp - 0x34]
mov word [ebp - 0xfa], dx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xec], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xe8], ecx
mov cx, word [ebp - 0x24]
mov dword [ebp - 0xe4], edx
add esp, 0xc
lea edx, [ebp - 0x108]
mov word [ebp - 0xe0], cx
mov ecx, dword [ebp + 8]
mov eax, 0x2c
push edx
mov word [ebp - 0x108], 0x2cc1
mov byte [ebp - 0x106], 1
mov dword [ebp - 0xf8], ebx
call fcn.00404f40
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a0fc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x70]
push eax
lea edx, [ebp - 0x14]
call fcn.00401460
xor ebx, ebx
test al, al
jne 0x402749
mov byte [ebp - 0x1ad], 4
jmp 0x402749
lea ecx, [ebp - 0x14]
push ecx
push str._JGPAccountRequest__::_Account_doesnt_exist___ID_:__s
push 0x8a2be2
mov eax, 0x42a6d8
mov byte [ebp - 0x1ad], 2
call fcn.00407e40
add esp, 0xc
mov esi, 0x67ed00
call fcn.00407a40
jmp 0x402749
lea edx, [ebp - 0x14]
push edx
push str._JGPAccountRequest__::_Fail_ExecFormat_ID_:__s
push 0x8a2be2
mov eax, 0x42a6d8
call fcn.00407e40
add esp, 0xc
mov byte [ebp - 0x1ad], 0xe
jmp 0x402749
push str._JGPAccountRequest__::_Account_already_connected_ID_:__s
push 0x8a2be2
mov eax, 0x42a6d8
call fcn.00407e40
add esp, 0xc
mov byte [ebp - 0x1ad], 3
jmp 0x402749
lea ecx, [ebp - 0x14]
push ecx
push str._JGPAccountRequest__::__ANTIHACK__Special_characters_requested_ID_:__s
jmp 0x402867