Function at 0x10007260
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa24
mov dl, byte [0x1000a39c]
push ebx
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x923]
mov byte [ebp - 0x924], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x323]
mov byte [ebp - 0x324], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x523]
mov byte [ebp - 0x524], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x223]
mov byte [ebp - 0x224], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x123]
mov byte [ebp - 0x124], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x823]
mov byte [ebp - 0x824], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0xa23]
mov byte [ebp - 0xa24], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x723]
mov byte [ebp - 0x724], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ebx, ebx
lea ecx, [ebp - 4]
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
push ebx
push ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
call sub.olsql40.dll_sqlAllocEnv
mov esi, eax
add esp, 0x14
cmp si, bx
jl 0x10007bce
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
push edx
push 0x238
push 1
push eax
call sub.olobj40.dll_hmAllocate
mov esi, eax
add esp, 0x10
cmp si, bx
jl 0x10007bce
mov edi, dword [ebp - 0x24]
mov ecx, 0x8e
mov ebx, edi
xor eax, eax
mov dword [ebp - 0xc], ebx
add ebx, 8
rep stosd dword es:[edi], eax
lea ecx, [ebp - 4]
push ebx
push ecx
call sub.olsql40.dll_sqlAllocConnect
mov esi, eax
add esp, 8
test si, si
jl 0x10007bcc
mov esi, dword [ebp + 0x14]
push 0x3a
push esi
call sub.olsql40.dll_FindChar
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov dword [ebp + 0x14], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jbe 0x1000741f
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x924]
mov eax, ecx
mov esi, edi
mov edi, edx
push str.odbc.ini
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x100
and ecx, 3
lea edx, [ebp - 0x924]
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x724]
push ecx
push str.OOT_CAT
push str.Database
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x1000745b
dec edx
lea eax, [ebp - 0x924]
push edx
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [ebp + 0x14]
xor eax, eax
add esp, 0xc
lea edx, [ebp - 0x724]
lea edi, [ecx + esi]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.odbc.ini
lea ecx, [ebp - 0xa24]
push 0x100
push ecx
push 0x1000a39c
lea edx, [ebp - 0x924]
push str.DataDirectory
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x324]
lea edi, [ebp - 0xa24]
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebp - 0xa24]
push ecx
call fcn.10001cd0
lea edi, [ebp - 0x724]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x524]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [ebp - 0x724]
push ecx
push eax
call fcn.10001cd0
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x224]
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.10001cd0
lea edx, [ebp - 0x124]
or ecx, 0xffffffff
push edx
mov edx, dword [ebp + 0x10]
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.10001cd0
add esp, 0x30
lea eax, [ebp - 0x824]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x10007531
mov ecx, 0x40
lea esi, [ebp - 0x324]
lea edi, [ebp - 0x824]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x824]
lea edi, [ebp - 0x824]
push ecx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call sub.olsql40.dll_sqlSetSysCatPath
mov esi, eax
add esp, 0xc
test si, si
jl 0x10007bcc
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x424]
lea esi, [ebp - 0x324]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
lea edi, [ebp - 0x324]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x424]
mov eax, ecx
lea edx, [ebp - 0x424]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [ebp - 0x20], eax
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x1000aacc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x424]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x524]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x424]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..ODB
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x124]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x124]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0x424]
push edx
push eax
lea edi, [ebp - 0x424]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xdc]
push edx
call dword [sym.imp.olobj40.dll_okConnect]
add esp, 0x14
cmp ax, 0xf43b
jne 0x100078bf
lea edi, [ebp - 0x224]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
add eax, 4
and al, 0xfc
call fcn.10008f60
lea edi, [ebp - 0x124]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0xc], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
add eax, 4
and al, 0xfc
call fcn.10008f60
lea edi, [ebp - 0x224]
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp - 0x224]
repne scasb al, byte es:[edi]
mov edi, dword [ebp + 0xc]
mov edx, esp
not ecx
dec ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x124]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ebp - 0x124]
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x124]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x224]
mov byte [ecx + edx], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0xc]
not ecx
dec ecx
mov byte [ecx + eax], 0
lea ecx, [ebp + 0x14]
lea eax, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
push edx
lea edx, [ebp - 0x424]
push ecx
push edx
call sub.olobj40.dll_olLoginUser
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x18
test esi, esi
je 0x10007963
mov edx, dword [ebp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x18], edx
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0x424]
push edx
push eax
lea edi, [ebp - 0x424]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xdc]
push edx
call dword [sym.imp.olobj40.dll_okConnect]
mov esi, eax
add esp, 0x14
cmp si, 0xf431
je 0x100077cf
test si, si
je 0x100077cf
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
test si, si
jl 0x10007bcc
mov edi, dword [ebp + 0x14]
push 0
or ecx, 0xffffffff
xor eax, eax
push edi
lea edx, [ebp - 0x224]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x124]
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x224]
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push ecx
push eax
push eax
lea eax, [ebp - 0x324]
push eax
lea edi, [ebp - 0x324]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [ebx]
push ecx
call sub.olsql40.dll_sqlConnect
mov esi, eax
add esp, 0x30
test si, si
je 0x1000784e
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
test si, si
jl 0x10007bcc
mov eax, dword [ebx]
xor ecx, ecx
mov edx, eax
lea edi, [ebp - 0x524]
mov cl, byte [eax]
lea ecx, [ecx + ecx*2]
shl ecx, 2
sub edx, ecx
mov ecx, dword [edx + 4]
mov edx, dword [eax + 8]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax + 0x28]
mov dword [ecx + 0xc4], edx
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x524]
mov dword [eax + 0xc8], ecx
or ecx, 0xffffffff
xor eax, eax
push edx
repne scasb al, byte es:[edi]
mov eax, dword [ebx]
not ecx
dec ecx
push ecx
push eax
call sub.olsql40.dll_sqlSetCatalog
mov ecx, dword [ebp + 0x14]
mov esi, eax
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x10
test si, si
jl 0x10007bcc
jmp 0x10007963
lea edi, [ebp - 0x124]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x124]
repne scasb al, byte es:[edi]
not ecx
push 0
dec ecx
push edx
lea eax, [ebp - 0x124]
push ecx
push eax
lea edi, [ebp - 0x124]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x324]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x224]
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x324]
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push eax
push eax
mov eax, dword [ebx]
dec ecx
push edx
push ecx
push eax
call sub.olsql40.dll_sqlConnect
mov esi, eax
add esp, 0x30
test si, si
jl 0x10007bcc
lea ecx, [ebp - 0x524]
lea edi, [ebp - 0x524]
push ecx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call sub.olsql40.dll_sqlSetCatalog
mov esi, eax
add esp, 0xc
test si, si
jl 0x10007bcc
lea eax, [ebp - 0x224]
lea edi, [ebp - 0x224]
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [ebx]
push ecx
call sub.olsql40.dll_sqlSetSchema
mov esi, eax
add esp, 0xc
test si, si
jl 0x10007bcc
push str.English
call sub.olobj40.dll_sdtSetLocale
push str.YYYY_MM_DD_HH24:MI:SS
push str.YYYY_MM_DD_HH24:MI:SS
call sub.olobj40.dll_SetNLSDateFmt
mov eax, dword [ebx]
xor ecx, ecx
add esp, 0xc
mov cl, byte [eax]
lea edx, [ecx + ecx*2]
mov ecx, eax
shl edx, 2
mov eax, dword [eax + 8]
sub ecx, edx
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx + eax*4]
mov ax, word [eax + 0x48]
test ax, ax
je 0x100079dc
cmp ax, 1
jne 0x10007bcc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add edx, 0x214
push edx
push 0
push 0x30
push eax
call sub.olobj40.dll_darCreateArray
mov esi, eax
add esp, 0x10
test si, si
jl 0x10007bcc
lea edi, [ebp - 0x524]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [edx + 0x10]
mov eax, ecx
mov esi, edi
mov edi, ebx
lea ebx, [edx + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x524]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x324]
mov dword [edx + 0xc], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x324]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx + 0x110], ecx
mov ecx, dword [ebp - 4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
push ecx
push edx
call sub.olsql40.dll_sqlAllocStmt
mov esi, eax
add esp, 8
test si, si
jl 0x10007bcc
mov eax, dword [str.SELECT_OWNER_FROM__s.USLOG]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push str.SYSTEM
lea ecx, [ebp - 0x624]
push eax
push ecx
call ebx
lea edi, [ebp - 0x624]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x624]
repne scasb al, byte es:[edi]
not ecx
push 0
dec ecx
push edx
push ecx
push eax
push eax
mov eax, dword [ebp - 8]
push 0xffffffffffffffff
push eax
call sub.olsql40.dll_sqlPrepStmt
mov esi, eax
add esp, 0x28
cmp si, 0xebf6
jne 0x10007bb0
mov ecx, dword [str.CREATE_TABLE__s.USLOG__TRANID___INTEGER__SEQNO___INTEGER__OWNER_VARCHAR_30___STORE_VARCHAR_30__]
push str.SYSTEM
lea edx, [ebp - 0x624]
push ecx
push edx
call ebx
lea eax, [ebp - 0x624]
push 0
push eax
lea edi, [ebp - 0x624]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [ebp - 8]
push eax
push eax
push 0xffffffffffffffff
push ecx
call sub.olsql40.dll_sqlPrepStmt
mov esi, eax
add esp, 0x28
test si, si
jl 0x10007bcc
mov edx, dword [ebp - 8]
push 0
push 0
push edx
call sub.olsql40.dll_sqlExeStmt
mov esi, eax
add esp, 0xc
test si, si
jl 0x10007bcc
mov eax, dword [str.CREATE_INDEX_I_USLOG_TS_ON__s.USLOG__TRANID____SEQNO___]
push str.SYSTEM
lea ecx, [ebp - 0x624]
push eax
push ecx
call ebx
lea edi, [ebp - 0x624]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x624]
repne scasb al, byte es:[edi]
not ecx
push 0
dec ecx
push edx
push ecx
push eax
push eax
mov eax, dword [ebp - 8]
push 0xffffffffffffffff
push eax
call sub.olsql40.dll_sqlPrepStmt
mov esi, eax
add esp, 0x28
test si, si
jl 0x10007bcc
mov ecx, dword [ebp - 8]
push 0
push 0
push ecx
call sub.olsql40.dll_sqlExeStmt
mov esi, eax
add esp, 0xc
cmp si, 0xebdf
je 0x10007bb5
test si, si
jl 0x10007bcc
lea edx, [ebp - 8]
push edx
call sub.olsql40.dll_sqlFreeStmt
mov esi, eax
add esp, 4
test si, si
jge 0x10007c8b
xor ebx, ebx
cmp dword [ebp - 8], ebx
je 0x10007be6
lea eax, [ebp - 8]
push eax
call sub.olsql40.dll_sqlFreeStmt
add esp, 4
cmp si, bx
jne 0x10007be6
mov esi, eax
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x214]
cmp eax, ebx
je 0x10007c12
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call sub.olobj40.dll_darDeleteArray
add esp, 8
cmp ax, bx
jl 0x10007c0b
mov dword [edi + 0x214], ebx
cmp si, bx
jne 0x10007c12
mov esi, eax
mov eax, dword [edi + 8]
add edi, 8
cmp eax, ebx
je 0x10007c55
mov edx, dword [ebp - 4]
push ebx
push edi
push edx
call sub.olsql40.dll_sqlDisconnect
add esp, 0xc
cmp ax, 0xebc9
jne 0x10007c41
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
push 5
push eax
push ecx
call sub.olsql40.dll_sqlTransact
add esp, 0xc
cmp si, bx
mov dword [ebp + 0x14], eax
je 0x10007c4c
mov dword [ebp + 0x14], esi
push edi
call sub.olsql40.dll_sqlFreeConnect
add esp, 4
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x10007c6b
mov edx, dword [ebp - 0x10]
push eax
push 1
push edx
call sub.olobj40.dll_hmFree
add esp, 0xc
cmp dword [ebp - 4], ebx
je 0x10007c7c
lea eax, [ebp - 4]
push eax
call sub.olsql40.dll_sqlFreeEnv
add esp, 4
xor eax, eax
lea esp, [ebp - 0xa30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 0xa30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret