Function at 0x10050649
Capabilities:
Read .ini file
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097ea1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbe4
push edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x214], eax
push 0
mov ecx, dword [ebp - 0x214]
call fcn.10004570
push 0
push 0x100
lea edx, [ebp - 0x140]
push edx
push 0x100b91f8
call sub.Ufxtwl.dll_Ordinal_172
add esp, 0x10
mov dword [ebp - 0x1e8], 0
jmp 0x100506c0
mov eax, dword [ebp - 0x1e8]
add eax, 1
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0xa
jge 0x10050742
mov ecx, dword [ebp - 0x1e8]
push ecx
push 0x100b9208
lea edx, [ebp - 0x1e4]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
push 0
lea ecx, [ebp - 0x1e4]
push ecx
push str.CustCode
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x1e8]
mov dword [ebp + edx*4 - 0x210], eax
mov eax, dword [ebp - 0x1e8]
cmp dword [ebp + eax*4 - 0x210], 0
jle 0x1005073d
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp + ecx*4 - 0x210]
push edx
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047dd0
jmp 0x100506b1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x30]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
add ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CWnd::GetCheckedRadioButton
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp eax, dword [ecx + 0x38]
sete dl
mov dword [ebp - 0x220], edx
mov ecx, dword [ebp - 0x150]
call fcn.100045f0
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x1d0], 0xffff
mov dword [ebp - 0x228], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
add ecx, 8
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x148], 0
jne 0x100507fb
cmp dword [ebp - 0x220], 0
jne 0x100507fb
push 1
mov ecx, dword [ebp - 0x214]
call fcn.10004570
push 1
mov ecx, dword [ebp - 0x214]
call fcn.1000a860
xor eax, eax
jmp 0x10052fa0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
add eax, 8
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x14c], eax
mov word [ebp - 0x1c8], 0xffff
mov word [ebp - 0x1cc], 0
mov dword [ebp - 0x1c4], 0
lea ecx, [ebp - 0x5b4]
call sub.Adbtwl.dll_Ordinal_160
mov dword [ebp - 4], 0
push 0xfffffffffffffffe
lea ecx, [ebp - 0x5b4]
call sub.adbapi.dll_Ordinal_115
test eax, eax
jne 0x10050899
push 0xc
lea ecx, [ebp - 0x5b4]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x1005088e
mov cx, word [ebp - 0x259]
mov word [ebp - 0x1cc], cx
movsx dx, byte [ebp - 0x22b]
and edx, 0xffff
and edx, 1
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x1c4], edx
lea ecx, [ebp - 0x5b4]
call sub.adbapi.dll_Ordinal_104
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5b4]
call fcn.10004290
mov dword [ebp - 0x224], 0
push 0x31b
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xb38], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0xb38], 0
je 0x100508eb
mov ecx, dword [ebp - 0xb38]
call sub.AdbWnfg.dll_Ordinal_100_1
mov dword [ebp - 0xb8c], eax
jmp 0x100508f5
mov dword [ebp - 0xb8c], 0
mov eax, dword [ebp - 0xb8c]
mov dword [ebp - 0xb34], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xb34]
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0
je 0x10050986
mov edx, dword [ebp - 0x218]
mov word [edx + 0x114], 0x8f
cmp dword [ebp - 0x224], 0
jne 0x10050984
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_115
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0xc
jne 0x10050984
mov eax, dword [ebp - 0x218]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x218]
call dword [edx + 8]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10050984
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_115
mov dword [ebp - 0x224], eax
jmp 0x1005098b
call sub.Ufxtwl.dll_Ordinal_55
cmp dword [ebp - 0x224], 0
je 0x10050a06
cmp dword [ebp - 0x218], 0
je 0x10050a06
mov ecx, dword [ebp - 0x218]
call fcn.10016cb0
test eax, eax
je 0x100509b7
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_104
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0xb40], eax
mov ecx, dword [ebp - 0xb40]
mov dword [ebp - 0xb3c], ecx
cmp dword [ebp - 0xb3c], 0
je 0x100509f2
push 1
mov edx, dword [ebp - 0xb3c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb3c]
call dword [eax]
mov dword [ebp - 0xb90], eax
jmp 0x100509fc
mov dword [ebp - 0xb90], 0
mov dword [ebp - 0x218], 0
push 0x181
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xb48], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0xb48], 0
je 0x10050a3c
mov ecx, dword [ebp - 0xb48]
call sub.AdbWnfg.dll_Ordinal_430
mov dword [ebp - 0xb94], eax
jmp 0x10050a46
mov dword [ebp - 0xb94], 0
mov ecx, dword [ebp - 0xb94]
mov dword [ebp - 0xb44], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xb44]
mov dword [ebp - 0x144], edx
cmp dword [ebp - 0x144], 0
je 0x10050ad7
mov eax, dword [ebp - 0x144]
mov word [eax + 0x114], 0x8f
cmp dword [ebp - 0x224], 0
jne 0x10050ad5
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_115
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0xc
jne 0x10050ad5
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x144]
call dword [edx + 8]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10050ad5
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_115
mov dword [ebp - 0x224], eax
jmp 0x10050adc
call sub.Ufxtwl.dll_Ordinal_55
cmp dword [ebp - 0x224], 0
je 0x10050b57
cmp dword [ebp - 0x144], 0
je 0x10050b57
mov ecx, dword [ebp - 0x144]
call fcn.10016cb0
test eax, eax
je 0x10050b08
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_104
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xb50], eax
mov ecx, dword [ebp - 0xb50]
mov dword [ebp - 0xb4c], ecx
cmp dword [ebp - 0xb4c], 0
je 0x10050b43
push 1
mov edx, dword [ebp - 0xb4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4c]
call dword [eax]
mov dword [ebp - 0xb98], eax
jmp 0x10050b4d
mov dword [ebp - 0xb98], 0
mov dword [ebp - 0x144], 0
push 0x160
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xb58], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0xb58], 0
je 0x10050b8d
mov ecx, dword [ebp - 0xb58]
call sub.AdbWnfg.dll_Ordinal_182
mov dword [ebp - 0xb9c], eax
jmp 0x10050b97
mov dword [ebp - 0xb9c], 0
mov ecx, dword [ebp - 0xb9c]
mov dword [ebp - 0xb54], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xb54]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x10050c13
mov eax, dword [ebp - 0x10]
mov word [eax + 0x114], 0x8f
cmp dword [ebp - 0x224], 0
jne 0x10050c11
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x10]
call sub.adbapi.dll_Ordinal_115
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0xc
jne 0x10050c11
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
call dword [edx + 8]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10050c11
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x10]
call sub.adbapi.dll_Ordinal_115
mov dword [ebp - 0x224], eax
jmp 0x10050c18
call sub.Ufxtwl.dll_Ordinal_55
cmp dword [ebp - 0x224], 0
je 0x10050c84
cmp dword [ebp - 0x10], 0
je 0x10050c84
mov ecx, dword [ebp - 0x10]
call fcn.10016cb0
test eax, eax
je 0x10050c3b
mov ecx, dword [ebp - 0x10]
call sub.adbapi.dll_Ordinal_104
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb60], eax
mov ecx, dword [ebp - 0xb60]
mov dword [ebp - 0xb5c], ecx
cmp dword [ebp - 0xb5c], 0
je 0x10050c73
push 1
mov edx, dword [ebp - 0xb5c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb5c]
call dword [eax]
mov dword [ebp - 0xba0], eax
jmp 0x10050c7d
mov dword [ebp - 0xba0], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x224], 0
jne 0x10052e16
cmp dword [ebp - 0x1c4], 0
jne 0x100523f5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3c]
cmp dword [edx + 0x24], 5
jle 0x10050cb6
mov dword [ebp - 0xba4], 5
jmp 0x10050cc5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0xba4], edx
cmp dword [ebp - 0xba4], 0
jge 0x10050cda
mov dword [ebp - 0xba8], 0
jmp 0x10050d0d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + 0x24], 5
jle 0x10050cf2
mov dword [ebp - 0xbac], 5
jmp 0x10050d01
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0xbac], ecx
mov edx, dword [ebp - 0xbac]
mov dword [ebp - 0xba8], edx
mov eax, dword [ebp - 0xba8]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.10032260
mov ecx, dword [ebp - 0x218]
call fcn.10047e60
mov dword [ebp - 0x5b8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3c]
cmp dword [edx + 0x4c], 1
jne 0x10050d56
push 0
push 0
push 0x496
mov ecx, dword [ebp - 0x150]
call fcn.10004340
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x100511c5
mov dword [ebp - 0x5c0], 1
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5c4], 0
jmp 0x10050d92
mov eax, dword [ebp - 0x5c4]
add eax, 1
mov dword [ebp - 0x5c4], eax
mov ecx, dword [ebp - 0x5c4]
cmp ecx, dword [ebp - 0x21c]
jge 0x100511c0
mov edx, dword [ebp - 0x5c4]
push edx
mov ecx, dword [ebp - 0x150]
call fcn.10047e30
test eax, eax
jne 0x10050dbc
jmp 0x10050d83
lea eax, [ebp - 0x5bc]
push eax
mov ecx, dword [ebp - 0x5c4]
push ecx
mov ecx, dword [ebp - 0x150]
call fcn.100071d0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10032260
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x5bc]
mov dword [edx + 0x158], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x15c], 0
push 9
mov ecx, dword [ebp - 0x10]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x100511bb
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x132]
cmp eax, dword [ebp - 0x5bc]
je 0x10050e2e
jmp 0x100511bb
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x136], 0
je 0x100511a6
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x142]
test eax, eax
jne 0x100511a6
mov dword [ebp - 0x5c0], 1
push 0
mov ecx, dword [ebp - 0x218]
call fcn.10032260
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x136]
mov dword [ecx + 0x2ee], eax
push 5
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x100511a6
push 0x15
push 0
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x15
push 0
lea edx, [ebp - 0x40]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
add ecx, 8
push ecx
lea edx, [ebp - 0x40]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
add ecx, 8
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe case.0x10050f0a.1
mov dword [ebp - 0x5c0], 0
mov edx, dword [ebp - 0x5b8]
mov dword [ebp - 0xbb0], edx
cmp dword [ebp - 0xbb0], 5
ja case.0x10050f0a.1
mov eax, dword [ebp - 0xbb0]
jmp dword [eax*4 + 0x10052faf]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x132]
push edx
push 0x100b9220
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10050f4f
mov dword [ebp - 0x5c0], 1
jmp case.0x10050f0a.1
mov eax, dword [ebp - 0x218]
add eax, 0x138
push eax
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10050f8b
mov dword [ebp - 0x5c0], 1
jmp case.0x10050f0a.1
mov ecx, dword [ebp - 0x218]
add ecx, 0x185
push ecx
lea edx, [ebp - 0x28]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10050fc8
mov dword [ebp - 0x5c0], 1
jmp case.0x10050f0a.1
mov edx, dword [ebp - 0x218]
add edx, 0x210
push edx
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10051002
mov dword [ebp - 0x5c0], 1
jmp case.0x10050f0a.1
mov eax, dword [ebp - 0x218]
add eax, 0x176
push eax
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je case.0x10050f0a.1
mov dword [ebp - 0x5c0], 1
cmp dword [ebp - 0x5c0], 0
je 0x100511a6
push 0x70
push 0
lea ecx, [ebp - 0x1c0]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x132]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x138
push ecx
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x14d
push eax
lea ecx, [ebp - 0x1a7]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x210
push edx
lea eax, [ebp - 0x17e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x185
push ecx
lea edx, [ebp - 0x16e]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x176
push eax
lea ecx, [ebp - 0x163]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x2b0]
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov dx, word [ebp - 0x1c8]
add dx, 1
mov word [ebp - 0x1c8], dx
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx + 0x136]
mov word [eax + 0x17d], dx
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x100511a6
mov dword [ebp - 0x5c8], 0
jmp 0x10051174
mov eax, dword [ebp - 0x5c8]
add eax, 1
mov dword [ebp - 0x5c8], eax
cmp dword [ebp - 0x5c8], 7
jge 0x100511a6
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x16a]
push edx
movsx eax, word [ebp - 0x1c8]
push eax
mov ecx, dword [ebp - 0x5c8]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x10051165
push 6
mov ecx, dword [ebp - 0x10]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
jmp 0x10050e0b
jmp 0x10050d83
jmp case.default.0x100511e9
mov ecx, dword [ebp - 0x218]
call fcn.10047e60
mov dword [ebp - 0xbb4], eax
cmp dword [ebp - 0xbb4], 5
ja case.default.0x100511e9
mov edx, dword [ebp - 0xbb4]
jmp dword [edx*4 + 0x10052fc7]
cmp dword [ebp - 0x228], 0
je 0x1005129b
mov dword [ebp - 0x5cc], 1
cmp dword [ebp - 0x5cc], 0
je 0x1005129b
mov eax, dword [ebp - 0x228]
imul eax, dword [ebp - 0x5cc]
mov dword [ebp - 0x5d0], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x5d0]
mov dword [ecx + 0x2ee], edx
push 9
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x10051279
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 0x132]
cdq
idiv dword [ebp - 0x5cc]
cmp eax, dword [ebp - 0x228]
jne 0x10051279
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x132]
mov dword [ebp - 0x228], edx
jmp 0x1005129b
mov eax, dword [ebp - 0x5cc]
imul eax, eax, 0xa
mov dword [ebp - 0x5cc], eax
cmp dword [ebp - 0x5cc], 0x5f5e100
jne 0x10051296
jmp 0x1005129b
jmp 0x10051207
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x228]
mov dword [ecx + 0x2ee], edx
push 9
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10051462
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.UfxTools.dll_Ordinal_2013
add esp, 0xc
test eax, eax
je 0x1005144a
push 0x70
push 0
lea eax, [ebp - 0x1c0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x132]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x218]
add eax, 0x138
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x14d
push edx
lea eax, [ebp - 0x1a7]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x210
push ecx
lea edx, [ebp - 0x17e]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x185
push eax
lea ecx, [ebp - 0x16e]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x176
push edx
lea eax, [ebp - 0x163]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x2b0]
mov dword [ebp - 0x154], edx
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov cx, word [ebp - 0x1c8]
add cx, 1
mov word [ebp - 0x1c8], cx
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x218]
mov cx, word [eax + 0x136]
mov word [edx + 0x17d], cx
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x1005144a
mov dword [ebp - 0x1e8], 0
jmp 0x10051418
mov edx, dword [ebp - 0x1e8]
add edx, 1
mov dword [ebp - 0x1e8], edx
cmp dword [ebp - 0x1e8], 7
jge 0x1005144a
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x16a]
push ecx
movsx edx, word [ebp - 0x1c8]
push edx
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x10051409
push 6
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
jmp 0x100512c0
jmp case.default.0x100511e9
movsx ecx, word [ebp - 0x1cc]
test ecx, ecx
jne 0x10051702
push 0x15
push 0
mov edx, dword [ebp - 0x218]
add edx, 0x2ee
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x40]
add edx, 8
push edx
mov eax, dword [ebp - 0x218]
add eax, 0x2ee
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x303], 0
push 9
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x100516fd
push 0x15
push 0
lea edx, [ebp - 0x28]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x15
push 0
lea eax, [ebp - 0x40]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x218]
add ecx, 0x138
push ecx
lea edx, [ebp - 0x28]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
add ecx, 8
push ecx
lea edx, [ebp - 0x40]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x10051568
jmp 0x100516fd
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.UfxTools.dll_Ordinal_2013
add esp, 0xc
test eax, eax
je 0x100516e5
push 0x70
push 0
lea eax, [ebp - 0x1c0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x132]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x218]
add eax, 0x138
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x14d
push edx
lea eax, [ebp - 0x1a7]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x210
push ecx
lea edx, [ebp - 0x17e]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x185
push eax
lea ecx, [ebp - 0x16e]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x176
push edx
lea eax, [ebp - 0x163]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x2b0]
mov dword [ebp - 0x154], edx
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov cx, word [ebp - 0x1c8]
add cx, 1
mov word [ebp - 0x1c8], cx
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x218]
mov cx, word [eax + 0x136]
mov word [edx + 0x17d], cx
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x100516e5
mov dword [ebp - 0x1e8], 0
jmp 0x100516b3
mov edx, dword [ebp - 0x1e8]
add edx, 1
mov dword [ebp - 0x1e8], edx
cmp dword [ebp - 0x1e8], 7
jge 0x100516e5
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x16a]
push ecx
movsx edx, word [ebp - 0x1c8]
push edx
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x100516a4
push 6
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
jmp 0x100514d7
jmp 0x10051932
push 0xc
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10051932
push 0x15
push 0
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x15
push 0
lea edx, [ebp - 0x40]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x218]
add eax, 0x138
push eax
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
add eax, 8
push eax
lea ecx, [ebp - 0x40]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x1005191a
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.UfxTools.dll_Ordinal_2013
add esp, 0xc
test eax, eax
je 0x1005191a
push 0x70
push 0
lea ecx, [ebp - 0x1c0]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x132]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x138
push ecx
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x14d
push eax
lea ecx, [ebp - 0x1a7]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x210
push edx
lea eax, [ebp - 0x17e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x185
push ecx
lea edx, [ebp - 0x16e]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x176
push eax
lea ecx, [ebp - 0x163]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x2b0]
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov dx, word [ebp - 0x1c8]
add dx, 1
mov word [ebp - 0x1c8], dx
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx + 0x136]
mov word [eax + 0x17d], dx
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x1005191a
mov dword [ebp - 0x1e8], 0
jmp 0x100518e8
mov eax, dword [ebp - 0x1e8]
add eax, 1
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 7
jge 0x1005191a
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x16a]
push edx
movsx eax, word [ebp - 0x1c8]
push eax
mov ecx, dword [ebp - 0x1e8]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x100518d9
push 6
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
jmp 0x10051715
mov ecx, dword [ebp - 0x214]
call fcn.10004540
test eax, eax
jne 0x10051b85
movsx edx, word [ebp - 0x1cc]
test edx, edx
jne 0x10051b85
push 0xc
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10051b85
push 0x15
push 0
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x15
push 0
lea ecx, [ebp - 0x40]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x218]
add edx, 0x138
push edx
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x40]
add edx, 8
push edx
lea eax, [ebp - 0x40]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10051b6d
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.UfxTools.dll_Ordinal_2013
add esp, 0xc
test eax, eax
je 0x10051b6d
push 0x70
push 0
lea eax, [ebp - 0x1c0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x132]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x218]
add eax, 0x138
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x14d
push edx
lea eax, [ebp - 0x1a7]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x210
push ecx
lea edx, [ebp - 0x17e]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x185
push eax
lea ecx, [ebp - 0x16e]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x176
push edx
lea eax, [ebp - 0x163]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x2b0]
mov dword [ebp - 0x154], edx
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov cx, word [ebp - 0x1c8]
add cx, 1
mov word [ebp - 0x1c8], cx
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x218]
mov cx, word [eax + 0x136]
mov word [edx + 0x17d], cx
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10051b6d
mov dword [ebp - 0x1e8], 0
jmp 0x10051b3b
mov edx, dword [ebp - 0x1e8]
add edx, 1
mov dword [ebp - 0x1e8], edx
cmp dword [ebp - 0x1e8], 7
jge 0x10051b6d
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x16a]
push ecx
movsx edx, word [ebp - 0x1c8]
push edx
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x10051b2c
push 6
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
jmp 0x10051967
jmp case.default.0x100511e9
push 0xb
push 0
mov ecx, dword [ebp - 0x218]
add ecx, 0x2ee
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp - 0x14c], 0xa
jg 0x10051bba
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0xbb8], edx
jmp 0x10051bc4
mov dword [ebp - 0xbb8], 0xa
mov eax, dword [ebp - 0xbb8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x40]
add edx, 8
push edx
mov eax, dword [ebp - 0x218]
add eax, 0x2ee
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x2f9], 0
push 9
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10051e53
push 0x15
push 0
lea edx, [ebp - 0x28]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x15
push 0
lea eax, [ebp - 0x40]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x218]
add ecx, 0x185
push ecx
lea edx, [ebp - 0x28]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
add ecx, 8
push ecx
lea edx, [ebp - 0x40]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp dword [ebp - 0x14c], 0xa
jg 0x10051c7f
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xbbc], eax
jmp 0x10051c89
mov dword [ebp - 0xbbc], 0xa
mov ecx, dword [ebp - 0xbbc]
push ecx
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x10051cbe
jmp 0x10051e53
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.UfxTools.dll_Ordinal_2013
add esp, 0xc
test eax, eax
je 0x10051e3b
push 0x70
push 0
lea ecx, [ebp - 0x1c0]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x132]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x138
push ecx
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x14d
push eax
lea ecx, [ebp - 0x1a7]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x210
push edx
lea eax, [ebp - 0x17e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x185
push ecx
lea edx, [ebp - 0x16e]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x176
push eax
lea ecx, [ebp - 0x163]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x2b0]
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov dx, word [ebp - 0x1c8]
add dx, 1
mov word [ebp - 0x1c8], dx
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx + 0x136]
mov word [eax + 0x17d], dx
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10051e3b
mov dword [ebp - 0x1e8], 0
jmp 0x10051e09
mov eax, dword [ebp - 0x1e8]
add eax, 1
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 7
jge 0x10051e3b
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x16a]
push edx
movsx eax, word [ebp - 0x1c8]
push eax
mov ecx, dword [ebp - 0x1e8]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x10051dfa
push 6
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
jmp 0x10051c0c
jmp case.default.0x100511e9
push 0x10
push 0
mov edx, dword [ebp - 0x218]
add edx, 0x2ee
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp - 0x14c], 0xf
jg 0x10051e88
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xbc0], eax
jmp 0x10051e92
mov dword [ebp - 0xbc0], 0xf
mov ecx, dword [ebp - 0xbc0]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
add eax, 8
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x2ee
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x218]
mov dword [edx + 0x2fe], 0
push 9
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10052123
push 0x15
push 0
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x15
push 0
lea ecx, [ebp - 0x40]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x218]
add edx, 0x210
push edx
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x40]
add edx, 8
push edx
lea eax, [ebp - 0x40]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp dword [ebp - 0x14c], 0xf
jg 0x10051f4e
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0xbc4], ecx
jmp 0x10051f58
mov dword [ebp - 0xbc4], 0xf
mov edx, dword [ebp - 0xbc4]
push edx
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x10051f8d
jmp 0x10052123
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.UfxTools.dll_Ordinal_2013
add esp, 0xc
test eax, eax
je 0x1005210b
push 0x70
push 0
lea edx, [ebp - 0x1c0]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x132]
mov dword [ebp - 0x1c0], ecx
mov edx, dword [ebp - 0x218]
add edx, 0x138
push edx
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x14d
push ecx
lea edx, [ebp - 0x1a7]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x210
push eax
lea ecx, [ebp - 0x17e]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x185
push edx
lea eax, [ebp - 0x16e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x176
push ecx
lea edx, [ebp - 0x163]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x2b0]
mov dword [ebp - 0x154], ecx
lea edx, [ebp - 0x1c0]
push edx
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov ax, word [ebp - 0x1c8]
add ax, 1
mov word [ebp - 0x1c8], ax
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x218]
mov ax, word [edx + 0x136]
mov word [ecx + 0x17d], ax
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x1005210b
mov dword [ebp - 0x1e8], 0
jmp 0x100520d9
mov ecx, dword [ebp - 0x1e8]
add ecx, 1
mov dword [ebp - 0x1e8], ecx
cmp dword [ebp - 0x1e8], 7
jge 0x1005210b
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x16a]
push eax
movsx ecx, word [ebp - 0x1c8]
push ecx
mov edx, dword [ebp - 0x1e8]
push edx
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x100520ca
push 6
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
jmp 0x10051edb
jmp case.default.0x100511e9
push 0xf
push 0
mov eax, dword [ebp - 0x218]
add eax, 0x2ee
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp - 0x14c], 0xe
jg 0x10052157
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0xbc8], ecx
jmp 0x10052161
mov dword [ebp - 0xbc8], 0xe
mov edx, dword [ebp - 0xbc8]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x218]
add edx, 0x2ee
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x218]
mov dword [eax + 0x2fd], 0
push 9
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne case.default.0x100511e9
push 0x15
push 0
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x15
push 0
lea edx, [ebp - 0x40]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x218]
add eax, 0x176
push eax
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
add eax, 8
push eax
lea ecx, [ebp - 0x40]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp dword [ebp - 0x14c], 0xe
jg 0x1005221c
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0xbcc], edx
jmp 0x10052226
mov dword [ebp - 0xbcc], 0xe
mov eax, dword [ebp - 0xbcc]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x1005225b
jmp case.default.0x100511e9
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.UfxTools.dll_Ordinal_2013
add esp, 0xc
test eax, eax
je 0x100523d8
push 0x70
push 0
lea eax, [ebp - 0x1c0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x132]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x218]
add eax, 0x138
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x14d
push edx
lea eax, [ebp - 0x1a7]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x210
push ecx
lea edx, [ebp - 0x17e]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x185
push eax
lea ecx, [ebp - 0x16e]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x176
push edx
lea eax, [ebp - 0x163]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x2b0]
mov dword [ebp - 0x154], edx
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov cx, word [ebp - 0x1c8]
add cx, 1
mov word [ebp - 0x1c8], cx
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x218]
mov cx, word [eax + 0x136]
mov word [edx + 0x17d], cx
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x100523d8
mov dword [ebp - 0x1e8], 0
jmp 0x100523a6
mov edx, dword [ebp - 0x1e8]
add edx, 1
mov dword [ebp - 0x1e8], edx
cmp dword [ebp - 0x1e8], 7
jge 0x100523d8
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x16a]
push ecx
movsx edx, word [ebp - 0x1c8]
push edx
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x10052397
push 6
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
jmp 0x100521aa
jmp 0x10052e16
push 0x105
push 0
lea ecx, [ebp - 0x8e4]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x105
push 0
lea edx, [ebp - 0x7dc]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x105
push 0
lea eax, [ebp - 0x9ec]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x105
push 0
lea ecx, [ebp - 0xaf8]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dl, byte [0x100c3a10]
mov byte [ebp - 0x6d4], dl
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x6d3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x100b9224]
mov dword [ebp - 0xb10], eax
mov ecx, dword [0x100b9228]
mov dword [ebp - 0xb0c], ecx
mov edx, dword [0x100b922c]
mov dword [ebp - 0xb08], edx
mov al, byte [0x100b9230]
mov byte [ebp - 0xb04], al
xor ecx, ecx
mov dword [ebp - 0xb03], ecx
mov dword [ebp - 0xaff], ecx
push 0
push 0x100
lea edx, [ebp - 0x6d4]
push edx
lea eax, [ebp - 0xb10]
push eax
call sub.Ufxtwl.dll_Ordinal_172
add esp, 0x10
lea ecx, [ebp - 0x6d4]
push ecx
push 1
push 0x100b9234
push 0x100b9240
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x5d4], eax
lea edx, [ebp - 0x6d4]
push edx
push 0x105
lea eax, [ebp - 0x8e4]
push eax
push 0x100c3a14
push 0x100b9254
push 0x100b9260
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x6d4]
push ecx
push 0x105
lea edx, [ebp - 0x7dc]
push edx
push 0x100c3a18
push 0x100b9274
push 0x100b927c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x444
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xb68], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0xb68], 0
je 0x1005258c
mov eax, dword [ebp - 0x5d4]
push eax
lea ecx, [ebp - 0xaf8]
push ecx
lea edx, [ebp - 0x9ec]
push edx
lea eax, [ebp - 0x7dc]
push eax
lea ecx, [ebp - 0x8e4]
push ecx
mov ecx, dword [ebp - 0xb68]
call sub.Ufxquery.dll_public:_void___thiscall_CAdoQuery::constructor_char___char___char___char___unsigned_int_
mov dword [ebp - 0xbd0], eax
jmp 0x10052596
mov dword [ebp - 0xbd0], 0
mov edx, dword [ebp - 0xbd0]
mov dword [ebp - 0xb64], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb64]
mov dword [ebp - 0x9f0], eax
cmp dword [ebp - 0x9f0], 0
je 0x10052e16
push 0x100c3a1c
lea ecx, [ebp - 0xb1c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 5
mov word [ebp - 0xb18], 0
mov word [ebp - 0xb14], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3c]
cmp dword [edx + 0x24], 5
jle 0x10052603
mov dword [ebp - 0xbd4], 5
jmp 0x10052612
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0xbd4], edx
cmp dword [ebp - 0xbd4], 0
jge 0x10052627
mov dword [ebp - 0xbd8], 0
jmp 0x1005265a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + 0x24], 5
jle 0x1005263f
mov dword [ebp - 0xbdc], 5
jmp 0x1005264e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0xbdc], ecx
mov edx, dword [ebp - 0xbdc]
mov dword [ebp - 0xbd8], edx
mov eax, dword [ebp - 0xbd8]
mov dword [ebp - 0xb20], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3c]
cmp dword [edx + 0x4c], 1
jne 0x1005268c
push 0
push 0
push 0x496
mov ecx, dword [ebp - 0x150]
call fcn.10004340
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x10052afb
mov dword [ebp - 0xb28], 1
mov dword [ebp - 0xb24], 0
mov dword [ebp - 0xb2c], 0
jmp 0x100526c8
mov eax, dword [ebp - 0xb2c]
add eax, 1
mov dword [ebp - 0xb2c], eax
mov ecx, dword [ebp - 0xb2c]
cmp ecx, dword [ebp - 0x21c]
jge 0x10052af6
mov edx, dword [ebp - 0xb2c]
push edx
mov ecx, dword [ebp - 0x150]
call fcn.10047e30
test eax, eax
jne 0x100526f2
jmp 0x100526b9
lea eax, [ebp - 0xb24]
push eax
mov ecx, dword [ebp - 0xb2c]
push ecx
mov ecx, dword [ebp - 0x150]
call fcn.100071d0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10032260
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xb24]
mov dword [edx + 0x158], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x15c], 0
push 9
mov ecx, dword [ebp - 0x10]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10052af1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x132]
cmp eax, dword [ebp - 0xb24]
je 0x10052764
jmp 0x10052af1
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x136], 0
je 0x10052adc
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x142]
test eax, eax
jne 0x10052adc
mov dword [ebp - 0xb28], 1
push 0
mov ecx, dword [ebp - 0x218]
call fcn.10032260
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x136]
mov dword [ecx + 0x2ee], eax
push 5
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x10052adc
push 0x15
push 0
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x15
push 0
lea edx, [ebp - 0x40]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
add ecx, 8
push ecx
lea edx, [ebp - 0x40]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
add ecx, 8
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe case.0x10052840.1
mov dword [ebp - 0xb28], 0
mov edx, dword [ebp - 0xb20]
mov dword [ebp - 0xbe0], edx
cmp dword [ebp - 0xbe0], 5
ja case.0x10052840.1
mov eax, dword [ebp - 0xbe0]
jmp dword [eax*4 + 0x10052fdf]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x132]
push edx
push 0x100b9290
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10052885
mov dword [ebp - 0xb28], 1
jmp case.0x10052840.1
mov eax, dword [ebp - 0x218]
add eax, 0x138
push eax
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x100528c1
mov dword [ebp - 0xb28], 1
jmp case.0x10052840.1
mov ecx, dword [ebp - 0x218]
add ecx, 0x185
push ecx
lea edx, [ebp - 0x28]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x100528fe
mov dword [ebp - 0xb28], 1
jmp case.0x10052840.1
mov edx, dword [ebp - 0x218]
add edx, 0x210
push edx
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10052938
mov dword [ebp - 0xb28], 1
jmp case.0x10052840.1
mov eax, dword [ebp - 0x218]
add eax, 0x176
push eax
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je case.0x10052840.1
mov dword [ebp - 0xb28], 1
cmp dword [ebp - 0xb28], 0
je 0x10052adc
push 0x70
push 0
lea ecx, [ebp - 0x1c0]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x132]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x138
push ecx
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x14d
push eax
lea ecx, [ebp - 0x1a7]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
add edx, 0x210
push edx
lea eax, [ebp - 0x17e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x218]
add ecx, 0x185
push ecx
lea edx, [ebp - 0x16e]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x218]
add eax, 0x176
push eax
lea ecx, [ebp - 0x163]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x2b0]
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov dx, word [ebp - 0x1c8]
add dx, 1
mov word [ebp - 0x1c8], dx
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx + 0x136]
mov word [eax + 0x17d], dx
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10052adc
mov dword [ebp - 0xb30], 0
jmp 0x10052aaa
mov eax, dword [ebp - 0xb30]
add eax, 1
mov dword [ebp - 0xb30], eax
cmp dword [ebp - 0xb30], 7
jge 0x10052adc
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x16a]
push edx
movsx eax, word [ebp - 0x1c8]
push eax
mov ecx, dword [ebp - 0xb30]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x10052a9b
push 6
mov ecx, dword [ebp - 0x10]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
jmp 0x10052741
jmp 0x100526b9
jmp 0x10052dc4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
cmp dword [eax + 0x24], 2
jne 0x10052b2a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x40]
add edx, 8
push edx
push 0x100b9294
lea eax, [ebp - 0xb1c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x10052bc9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3c]
cmp dword [edx + 0x24], 3
jne 0x10052b56
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
add ecx, 8
push ecx
push 0x100b939c
lea edx, [ebp - 0xb1c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x10052bc9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + 0x24], 4
jne 0x10052b82
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
add eax, 8
push eax
push 0x100b94a4
lea ecx, [ebp - 0xb1c]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x10052bc9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
cmp dword [eax + 0x24], 5
jne 0x10052bae
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x40]
add edx, 8
push edx
push 0x100b95b0
lea eax, [ebp - 0xb1c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x10052bc9
mov ecx, dword [ebp - 0x228]
push ecx
push 0x100b96c0
lea edx, [ebp - 0xb1c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0xb1c]
call fcn.10002700
push eax
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::ExecuteSQL_char__
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::IsEof_void_
test eax, eax
jne 0x10052dc4
push 0x70
push 0
lea eax, [ebp - 0x1c0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1c0]
push ecx
push 0
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__
lea edx, [ebp - 0x1bc]
push edx
push 1
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__
lea eax, [ebp - 0x1a7]
push eax
push 2
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__
lea ecx, [ebp - 0x17e]
push ecx
push 3
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__
lea edx, [ebp - 0x16e]
push edx
push 4
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__
lea eax, [ebp - 0x163]
push eax
push 5
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__
lea ecx, [ebp - 0x154]
push ecx
push 6
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__
lea edx, [ebp - 0xb18]
push edx
push 7
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__
lea eax, [ebp - 0xb14]
push eax
push 8
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x1c0]
mov dword [ecx + 0x132], edx
mov eax, dword [ebp - 0x218]
mov cx, word [ebp - 0xb18]
mov word [eax + 0x2c6], cx
mov edx, dword [ebp - 0x218]
mov ax, word [ebp - 0xb14]
mov word [edx + 0x136], ax
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.UfxTools.dll_Ordinal_2013
add esp, 0xc
test eax, eax
je 0x10052db4
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.10047da0
mov dx, word [ebp - 0x1c8]
add dx, 1
mov word [ebp - 0x1c8], dx
mov eax, dword [ebp - 0x144]
mov cx, word [ebp - 0xb14]
mov word [eax + 0x17d], cx
push 5
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10052db4
mov dword [ebp - 0x1e8], 0
jmp 0x10052d82
mov edx, dword [ebp - 0x1e8]
add edx, 1
mov dword [ebp - 0x1e8], edx
cmp dword [ebp - 0x1e8], 7
jge 0x10052db4
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x16a]
push ecx
movsx edx, word [ebp - 0x1c8]
push edx
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.10047d40
jmp 0x10052d73
mov ecx, dword [ebp - 0x9f0]
call sub.Ufxquery.dll_public:_int___thiscall_CAdoQuery::MoveNext_void_
jmp 0x10052be0
mov ecx, dword [ebp - 0x9f0]
mov dword [ebp - 0xb70], ecx
mov edx, dword [ebp - 0xb70]
mov dword [ebp - 0xb6c], edx
cmp dword [ebp - 0xb6c], 0
je 0x10052dfa
push 1
mov ecx, dword [ebp - 0xb6c]
call fcn.10058230
mov dword [ebp - 0xbe4], eax
jmp 0x10052e04
mov dword [ebp - 0xbe4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb1c]
call fcn.100947c2
cmp dword [ebp - 0x218], 0
je 0x10052e88
mov ecx, dword [ebp - 0x218]
call fcn.10016cb0
test eax, eax
je 0x10052e39
mov ecx, dword [ebp - 0x218]
call sub.adbapi.dll_Ordinal_104
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0xb78], eax
mov ecx, dword [ebp - 0xb78]
mov dword [ebp - 0xb74], ecx
cmp dword [ebp - 0xb74], 0
je 0x10052e74
push 1
mov edx, dword [ebp - 0xb74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb74]
call dword [eax]
mov dword [ebp - 0xbe8], eax
jmp 0x10052e7e
mov dword [ebp - 0xbe8], 0
mov dword [ebp - 0x218], 0
cmp dword [ebp - 0x144], 0
je 0x10052efa
mov ecx, dword [ebp - 0x144]
call fcn.10016cb0
test eax, eax
je 0x10052eab
mov ecx, dword [ebp - 0x144]
call sub.adbapi.dll_Ordinal_104
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0xb80], ecx
mov edx, dword [ebp - 0xb80]
mov dword [ebp - 0xb7c], edx
cmp dword [ebp - 0xb7c], 0
je 0x10052ee6
push 1
mov eax, dword [ebp - 0xb7c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb7c]
call dword [edx]
mov dword [ebp - 0xbec], eax
jmp 0x10052ef0
mov dword [ebp - 0xbec], 0
mov dword [ebp - 0x144], 0
cmp dword [ebp - 0x10], 0
je 0x10052f5d
mov ecx, dword [ebp - 0x10]
call fcn.10016cb0
test eax, eax
je 0x10052f14
mov ecx, dword [ebp - 0x10]
call sub.adbapi.dll_Ordinal_104
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb88], eax
mov ecx, dword [ebp - 0xb88]
mov dword [ebp - 0xb84], ecx
cmp dword [ebp - 0xb84], 0
je 0x10052f4c
push 1
mov edx, dword [ebp - 0xb84]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb84]
call dword [eax]
mov dword [ebp - 0xbf0], eax
jmp 0x10052f56
mov dword [ebp - 0xbf0], 0
mov dword [ebp - 0x10], 0
push 0xffff
push 0
push 0x547
mov ecx, dword [ebp - 0x214]
call fcn.10004340
push 1
mov ecx, dword [ebp - 0x214]
call fcn.10047d70
push 1
mov ecx, dword [ebp - 0x214]
call fcn.10020b50
push 1
mov ecx, dword [ebp - 0x214]
call fcn.1000a860
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret