Function at 0x421dfb
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dd9a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d8
mov dword [ebp - 0x2e4], ecx
cmp dword [ebp + 8], 0
jne 0x421e2c
xor eax, eax
jmp 0x422769
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2d8], 0
push 0xfa3
mov ecx, dword [ebp - 0x2e4]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00402d90
push 0xfa4
mov ecx, dword [ebp - 0x2e4]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00402d90
push 0xfa1
mov ecx, dword [ebp - 0x2e4]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x38], eax
push 0
mov ecx, dword [ebp - 0x38]
call fcn.00401e60
push 0xffffffffffffffff
push 0
push 0
mov ecx, dword [ebp - 0x38]
call fcn.0041b2f0
push 1
mov ecx, dword [ebp - 0x38]
call fcn.004053d0
push 0x15
push 0
lea edx, [ebp - 0x2c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2cc]
call sub.Adbtwl.dll_Ordinal_190
mov dword [ebp - 4], 0
mov word [ebp - 0x1b8], 0xc9
push 0xfffffffffffffffe
lea ecx, [ebp - 0x2cc]
call sub.adbapi.dll_Ordinal_115
test eax, eax
jne 0x421f28
push 0xc
lea ecx, [ebp - 0x2cc]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x421f1d
lea eax, [ebp - 0xc2]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x2cc]
call sub.adbapi.dll_Ordinal_104
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x2e4]
call fcn.004227f1
mov dword [ebp - 0x34], 0
mov word [ebp - 0x30], 0
mov dword [ebp - 0x2d4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x2d0]
push edx
push str._SELECT_SITE_NO__BANK_CD__ACCT_NO__CAST_ACCT_TXDAY_AS_INT___CAST_ACCT_TXDAY_SEQ_AS_SMALLINT___ACCT_TXTIME__JEOKYO__CAST_INOUT_GUBUN_AS_SMALLINT___CAST_TX_AMT_AS_FLOAT___CAST_TX_CUR_BAL_AS_FLOAT___BRANCH__SLIPDATE__ACCCODE__COMMENT_FROM__acctuser.IBK_ACCT_HIS__WHERE__ACCT_TXDAY____08ld_AND_ACCT_TXDAY____08ld_AND_SITE_NO___s__ORDER_BY_BANK_CD__ACCT_NO__ACCT_TXDAY__ACCT_TXDAY_SEQ
mov eax, dword [ebp - 0x2e4]
add eax, 0x663
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x663
call fcn.00402360
push eax
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::ExecuteSQL_char__]
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::IsEof_void_]
test eax, eax
jne 0x42270b
push 0x14f
push 0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0xd0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x2e4]
add edx, 0x1ee
push edx
push 0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov eax, dword [ebp - 0x2e4]
add eax, 0x203
push eax
push 1
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov ecx, dword [ebp - 0x2e4]
add ecx, 0xd0
push ecx
push 2
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov edx, dword [ebp - 0x2e4]
add edx, 0xe5
push edx
push 3
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov eax, dword [ebp - 0x2e4]
add eax, 0x20e
push eax
push 4
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov ecx, dword [ebp - 0x2e4]
add ecx, 0xe9
push ecx
push 5
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov edx, dword [ebp - 0x2e4]
add edx, 0x171
push edx
push 6
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
lea eax, [ebp - 0x30]
push eax
push 7
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
movsx ecx, word [ebp - 0x30]
cmp ecx, 2
jne 0x42210a
mov edx, dword [ebp - 0x2e4]
mov word [edx + 0xf4], 2
mov eax, dword [ebp - 0x2e4]
add eax, 0x125
push eax
push 8
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
jmp 0x422142
movsx ecx, word [ebp - 0x30]
cmp ecx, 1
jne 0x422142
mov edx, dword [ebp - 0x2e4]
mov word [edx + 0xf4], 3
mov eax, dword [ebp - 0x2e4]
add eax, 0x12d
push eax
push 8
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x135
push ecx
push 9
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov edx, dword [ebp - 0x2e4]
add edx, 0x1c3
push edx
push 0xa
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov eax, dword [ebp - 0x2e4]
add eax, 0x210
push eax
push 0xb
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov ecx, dword [ebp - 0x2e4]
add ecx, 0xf6
push ecx
push 0xc
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov edx, dword [ebp - 0x2e4]
add edx, 0x19a
push edx
push 0xd
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::GetValue_long_int__void__]
mov eax, dword [ebp - 0x2e4]
cmp dword [eax + 0x66b], 0
je 0x4222af
mov ecx, dword [ebp - 0x2e4]
add ecx, 0xf6
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x4222af
push 0
mov edx, dword [ebp - 0x2e4]
mov ecx, dword [edx + 0x66b]
call fcn.00401fd0
push 0x1c
push 0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x66b]
add ecx, 0x1c7
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x2e4]
add edx, 0xf6
push edx
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x66b]
add ecx, 0x1c7
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 5
mov edx, dword [ebp - 0x2e4]
mov ecx, dword [edx + 0x66b]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x4222af
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x66b]
add ecx, 0x141
push ecx
mov edx, dword [ebp - 0x2e4]
add edx, 0xfd
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x2e4]
cmp dword [eax + 0x673], 0
je 0x42250a
mov ecx, dword [ebp - 0x2e4]
cmp dword [ecx + 0x13d], 0
jne 0x42250a
push 0
mov edx, dword [ebp - 0x2e4]
mov ecx, dword [edx + 0x673]
call fcn.00401fd0
push 0x52
push 0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x673]
add ecx, 0x1bf
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x2e4]
add edx, 0x171
push edx
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x673]
add ecx, 0x1bf
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 5
mov edx, dword [ebp - 0x2e4]
mov ecx, dword [edx + 0x673]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jne 0x42250a
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x673]
mov edx, dword [ebp - 0x2e4]
mov ax, word [ecx + 0x184]
mov word [edx + 0x112], ax
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ecx + 0x673]
mov eax, dword [ebp - 0x2e4]
mov cx, word [edx + 0x18a]
mov word [eax + 0x1ec], cx
mov edx, dword [ebp - 0x2e4]
mov eax, dword [edx + 0x673]
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [eax + 0x186]
mov dword [ecx + 0x13d], edx
push 0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x667]
call fcn.00401fd0
push 0x2d
push 0
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ecx + 0x667]
add edx, 0x2ee
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x667]
mov edx, dword [ebp - 0x2e4]
mov eax, dword [edx + 0x13d]
mov dword [ecx + 0x2ee], eax
push 5
mov ecx, dword [ebp - 0x2e4]
mov ecx, dword [ecx + 0x667]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jne 0x42250a
mov edx, dword [ebp - 0x2e4]
mov eax, dword [edx + 0x667]
add eax, 0x138
push eax
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x141
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x2e4]
mov eax, dword [edx + 0x667]
add eax, 0x185
push eax
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x156
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp + 8]
cmp dword [edx + 0xd46], 0
je 0x42250a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd46]
mov edx, dword [ebp - 0x2e4]
mov eax, dword [edx + 0x13d]
mov dword [ecx + 0x162], eax
push 5
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xd46]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x42250a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd46]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd46]
fld qword [eax + 0x142]
fadd qword [edx + 0x152]
mov eax, dword [ebp - 0x2e4]
fstp qword [eax + 0x161]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd46]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd46]
fld qword [edx + 0x14a]
fadd qword [ecx + 0x15a]
mov edx, dword [ebp - 0x2e4]
fstp qword [edx + 0x169]
mov eax, dword [ebp - 0x2e4]
cmp dword [eax + 0x66f], 0
je 0x4225a0
mov ecx, dword [ebp - 0x2e4]
movsx edx, word [ecx + 0x112]
test edx, edx
je 0x4225a0
push 0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x66f]
call fcn.00401fd0
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ecx + 0x66f]
mov eax, dword [ebp - 0x2e4]
mov cx, word [eax + 0x112]
mov word [edx + 0x1a2], cx
push 5
mov edx, dword [ebp - 0x2e4]
mov ecx, dword [edx + 0x66f]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x4225a0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 0x66f]
add ecx, 0x136
push ecx
mov edx, dword [ebp - 0x2e4]
add edx, 0x114
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x2e4]
cmp dword [eax + 0x13d], 0
je 0x42260a
mov ecx, dword [ebp - 0x2e4]
add ecx, 0xf6
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jne 0x42260a
mov edx, dword [ebp - 0x2e4]
movsx eax, word [edx + 0xf4]
cmp eax, 2
jne 0x4225e9
mov ecx, dword [ebp - 0x2e4]
mov word [ecx + 0xf4], 0
mov edx, dword [ebp - 0x2e4]
movsx eax, word [edx + 0xf4]
cmp eax, 3
jne 0x42260a
mov ecx, dword [ebp - 0x2e4]
mov word [ecx + 0xf4], 1
mov edx, dword [ebp - 0x2e4]
add edx, 0x19a
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jne 0x422644
mov eax, dword [ebp - 0x2e4]
add eax, 0x171
push eax
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x19a
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x2e4]
add edx, 0x210
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
mov eax, dword [ebp - 0x2e4]
add eax, 0x210
push eax
call sub.Ufxtwl.dll_Ordinal_140
add esp, 8
mov ecx, dword [ebp - 0x2e4]
add ecx, 0xd0
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00405340
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2e4]
add edx, 0x210
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x4226f4
mov dword [ebp - 0x2dc], 0
jmp 0x4226ba
mov eax, dword [ebp - 0x2dc]
add eax, 1
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x38]
call fcn.00425dc0
cmp dword [ebp - 0x2dc], eax
jge 0x4226f4
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x90
call fcn.004051a0
push eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x2dc]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.00405230
jmp 0x4226ab
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x21f
call dword [sym.imp.Ufxquery.dll_public:_int___thiscall_CAdoQuery::MoveNext_void_]
jmp 0x421f9d
push 0
push 0
push 0x547
mov ecx, dword [ebp - 0x38]
call fcn.0041b120
push 1
mov ecx, dword [ebp - 0x38]
call fcn.00405310
push 1
mov ecx, dword [ebp - 0x38]
call fcn.00401e60
push 1
mov ecx, dword [ebp - 0x38]
call fcn.00401e90
push 0
mov ecx, dword [ebp - 0x2e4]
call sub.MFC42.DLL_CWnd::UpdateData
mov dword [ebp - 0x2e0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.00425c20
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4