Function at 0x469f10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x230
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x23c]
movzx ecx, byte [ebp + 0x10c]
mov edx, dword [ebp + 0x111]
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0xf], al
mov eax, dword [ebp]
push edi
mov dword [esp + 0x14], eax
push ecx
lea eax, [ebp + 0x69b]
push eax
lea ebx, [ebp + 0x10d]
push edx
xor eax, eax
call fcn.00462740
add esp, 0xc
cmp eax, 3
ja case.default.0x469f7b
jmp dword [eax*4 + 0x46a5bc]
mov eax, dword [0x6a10a8]
mov ecx, dword [eax + 0x17]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x12], ecx
mov edx, dword [0x6a10a8]
mov ecx, dword [edx + 0x27]
mov edx, dword [ecx + 5]
mov dword [eax + 0x16], edx
cmp byte [ebp + 0x10c], 3
jne case.default.0x469f7b
push eax
lea edi, [ebp + 0x197]
call fcn.00466530
add esp, 4
test eax, eax
jne 0x46a3a5
jmp case.default.0x469f7b
mov ecx, dword [0x6a10a8]
mov edx, dword [ecx + 0x17]
lea eax, [ebp + 0x197]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x16], eax
test eax, eax
je 0x46a3a5
jmp case.default.0x469f7b
lea eax, [ebp + 0x10d]
push 0
push eax
call fcn.004629d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46a490
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x12]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x46a3a5
lea ecx, [esp + 0x24]
push ecx
push 1
call fcn.0047da00
mov esi, eax
add esp, 8
test esi, esi
jne 0x46a490
lea edx, [esp + 0x38]
push edx
lea eax, [ebp + 0x111]
push 2
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
push fcn.00472210
xor ebx, ebx
push ebx
lea edi, [ebp + 0x10d]
push str.SELECT_rname__methodname__rblob__t_t_t_tFROM____sysexternal__s_INNER_JOIN____sysexternalmethod__sm___t_t_t_tON_mkey__AND_s.rkey__and_sm.rkeys.rkey
mov byte [esp + 0x2f], 1
mov dword [esp + 0x58], edi
call fcn.0050dfb0
mov esi, eax
add esp, 0x1c
cmp esi, ebx
je 0x46a08c
mov dword [esp + 0x20], ebx
jmp 0x46a490
mov esi, dword [esp + 0x28]
cmp esi, ebx
jne 0x46a0d4
xor edx, edx
cmp byte [ebp + 0x10c], 2
lea eax, [esp + 0x40]
sete dl
push eax
lea ecx, [ebp + 0x259]
push ecx
add edx, 0x40d9
mov esi, edx
call fcn.00461640
push eax
add ebp, 0x197
push ebp
push 0x200d
push esi
call fcn.00406f10
add esp, 0x18
jmp 0x46a4b8
movzx eax, word [esi]
movzx ecx, word [esi + 2]
cmp ax, cx
jne 0x46a0e6
mov dword [esp + 0x2c], ebx
jmp 0x46a0ef
cwde
add eax, esi
mov dword [esp + 0x2c], eax
jne 0x46a0f8
cmp dword [edi], 0xfffffffe
je 0x46a23a
cmp cx, word [esi + 4]
jne 0x46a102
xor ecx, ecx
jmp 0x46a107
movsx ecx, cx
add ecx, esi
lea eax, [ebp + 0x197]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46a130
cmp dl, bl
je 0x46a12c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46a130
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x46a110
xor eax, eax
jmp 0x46a135
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x46a23a
movzx eax, word [esi + 4]
cmp ax, word [esi + 6]
jne 0x46a14b
xor edi, edi
jmp 0x46a156
movsx edi, ax
add edi, esi
jne 0x46a259
mov ecx, str.oraNext
lea eax, [ebp + 0x197]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46a181
cmp dl, bl
je 0x46a17d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46a181
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x46a161
xor eax, eax
jmp 0x46a186
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x46a23a
mov ecx, str.aaaa
lea eax, [ebp + 0x218]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46a1c0
cmp dl, bl
je 0x46a1bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46a1c0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x46a1a0
xor eax, eax
jmp 0x46a1c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x46a23a
push str.TRANSBASE
call fcn.0056c440
lea edx, [esp + 0x23]
push edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
push 2
push ecx
mov dword [esp + 0x48], str.orareader.dll
call fcn.0056b580
mov esi, eax
add esp, 0x14
cmp esi, ebx
jne 0x46a490
cmp byte [esp + 0x1f], bl
jne 0x46a330
lea edx, [esp + 0x40]
push edx
push 0
push 0x836
call fcn.00406f10
push str.Shared_library_missing_or_damaged.
mov esi, 0x1ff2
push 0x200d
push esi
call fcn.00406f10
add esp, 0x18
jmp 0x46a4b8
add ebp, 0x197
push ebp
mov esi, 0x40d8
push 0x200d
push esi
call fcn.00406f10
add esp, 0xc
jmp 0x46a4b8
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x34]
call fcn.004633f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x46a490
push 0x5a8e04
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.0056a970
add esp, 0xc
test eax, eax
je 0x46a313
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a296
sub eax, edx
add eax, 4
cmp eax, 0x101
ja 0x46a313
lea eax, [esp + 0x40]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x46a2b0
mov edx, dword [str..dll]
mov cl, byte [0x5aca18]
mov dword [eax], edx
lea edx, [esp + 0x40]
push 0x5a8524
push edx
mov byte [eax + 4], cl
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x46a313
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
push esi
push eax
push 1
push ecx
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
push esi
cmp eax, dword [edi]
je 0x46a306
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
jmp 0x46a313
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
test eax, eax
je 0x46a330
push str.tempblob
mov esi, 0x715
push 0x2ee2
push esi
call fcn.00406f10
add esp, 0xc
jmp 0x46a49f
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [esp + 0x14]
mov dword [esi + 0x12], eax
test eax, eax
jne 0x46a367
test edi, edi
jne 0x46a3a5
push str.Cannot_open_OCI_library._nPlease_check_for_damaged_installation_or_missing_environment_settings.
mov esi, 0x1ff2
push 0x200d
push esi
call fcn.00406f10
add esp, 0xc
jmp 0x46a49f
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edi, [ebp + 0x197]
push edi
push eax
call ebx
mov dword [esi + 0x16], eax
test eax, eax
je 0x46a3a5
mov eax, dword [esi + 0x12]
push str.TbExtLoad
push eax
call ebx
test eax, eax
je 0x46a38f
call eax
cmp byte [ebp + 0x10c], 3
jne 0x46a401
push esi
call fcn.00466530
add esp, 4
test eax, eax
je 0x46a401
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x46a3d0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x46a3dd
mov eax, 0x5a8a1a
push eax
mov esi, 0x1ff2
push 0x200d
push esi
call fcn.00406f10
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x46a49f
mov ebx, dword [esp + 0x2c]
push 0
mov edi, esi
mov eax, dword [edi + 0x12]
push eax
push 0
lea eax, [ebp + 0x69b]
push eax
lea eax, [ebp + 0x10d]
push eax
call fcn.00462c50
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x46a490
movzx ecx, byte [ebp + 0x10c]
mov edx, dword [edi + 0x16]
mov eax, dword [ebp + 0x111]
push ecx
push edx
push eax
call fcn.00462be0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x46a490
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x46a460
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push 2
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1b], bl
call fcn.0047dad0
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x46a490
mov edx, dword [esp + 0x20]
push edx
call fcn.0050dec0
mov esi, eax
add esp, 4
test esi, esi
je 0x46a4df
push 0x200d
push 0
call fcn.00406f10
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46a4b1
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x46a4c7
lea eax, [esp + 0x24]
push eax
push 2
call fcn.0047dad0
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46a4d8
push eax
call fcn.0050dec0
add esp, 4
mov eax, esi
jmp 0x46a5a1
mov dword [esp + 0x20], 0
movsx esi, word [ebp + 0xa]
sub esi, 1
js 0x46a59f
mov edi, dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, dword [esp + 0x14]
lea ecx, [ebp + esi*4 + 0xc]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + 0x1c]
cmp eax, 4
je 0x46a559
cmp eax, 0xd
je 0x46a524
cmp eax, 0x1d
je 0x46a559
jmp 0x46a591
cmp dword [ebx + 0x4a], 0
jne 0x46a54c
movsx edx, word [ebp + 0xa]
add edx, edx
add edx, edx
push edx
call edi
mov dword [ebx + 0x4a], eax
movsx ecx, word [ebp + 0xa]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0x10
push 0x12
call edi
mov edx, dword [ebx + 0x4a]
add esp, 4
mov dword [edx + esi*4], eax
cmp dword [ebx + 0x42], 0
jne 0x46a581
movsx eax, word [ebp + 0xa]
add eax, eax
add eax, eax
push eax
call edi
mov dword [ebx + 0x42], eax
movsx ecx, word [ebp + 0xa]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0x10
push 0xff40
call edi
mov edx, dword [ebx + 0x42]
add esp, 4
mov dword [edx + esi*4], eax
sub dword [esp + 0x18], 4
dec esi
test esi, esi
jge 0x46a506
xor eax, eax
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00586584
add esp, 0x230
ret