Function at 0x45d36c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x60
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x249c]
mov edx, dword [ecx + 0x1c]
mov ebp, dword [esp + 0x78]
xor ebx, ebx
test edx, 0x200
je 0x45d439
movzx eax, byte [ebp]
test eax, eax
je 0x45d5a7
mov edx, ebp
je 0x45d5a7
movsx ecx, byte [esp + 0x84]
movzx eax, byte [ebp]
cmp eax, ecx
je 0x45d3c4
movzx eax, byte [edx + 1]
add ebx, 1
add edx, 1
test eax, eax
jne 0x45d3b2
test ebx, ebx
je 0x45d5a7
lea eax, [ebx + 1]
push eax
mov edx, dword [esp + 0x78]
push edx
call fcn.00403568
mov esi, eax
add esp, 8
test esi, esi
je 0x45d5a7
mov edx, dword [esp + 0x74]
push dword [edx + 0x24a0]
push dword [edx + 0x249c]
push 0x10000000
push ebx
push ebp
push ebx
push esi
call sub.OCI.dll_lxsCpStr
add esp, 0x1c
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov byte [esi + ebx], 0
mov dword [edx], esi
mov dword [eax], ebx
add ebp, ebx
movsx ebx, byte [esp + 0x84]
movzx ecx, byte [ebp]
cmp ecx, ebx
jne 0x45d77a
add ebp, 1
jmp 0x45d77a
lea edx, [esp + 8]
push 0
mov eax, dword [esp + 0x78]
push dword [eax + 0x24a0]
push ecx
push edx
push 0xffffffffffffffff
push ebp
call sub.OCI.dll_lxmopen
add esp, 0x18
add ebp, eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1c]
test edx, 0x4000000
je 0x45d480
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 1]
test eax, eax
jne 0x45d48f
movzx eax, byte [edx]
test eax, eax
je 0x45d5a7
jmp 0x45d48f
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
test edx, edx
je 0x45d5a7
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp], ebp
movsx ebp, byte [esp + 0x84]
mov edx, dword [ecx + 0x1c]
mov eax, edx
and eax, 0x4000000
je 0x45d512
movzx edi, byte [esi + 1]
test edi, edi
jne 0x45d51e
movzx edi, byte [esi]
test edi, edi
jne 0x45d51e
mov ebp, dword [esp]
jmp 0x45d58c
movzx edi, byte [esi]
test edi, edi
jne 0x45d51e
mov ebp, dword [esp]
jmp 0x45d58c
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x45d576
test eax, eax
jne 0x45d784
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45d546
mov eax, dword [esp + 0x48]
test eax, eax
mov eax, 0
sete al
jmp 0x45d56e
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0x24a0]
mov edi, dword [eax]
movzx eax, word [ecx + 0x24]
mov edi, dword [edi]
mov eax, dword [edi + eax*4]
add eax, dword [ecx]
movzx edi, byte [esi]
movzx eax, word [eax + edi*2]
test al, 3
mov eax, 0
sete al
test eax, eax
je 0x45d784
movzx eax, byte [esi]
mov edi, ebp
and edi, 0xff
cmp eax, edi
jne 0x45d784
mov ebp, dword [esp]
test ebx, ebx
je 0x45d5a7
lea esi, [ebx + 2]
push esi
mov eax, dword [esp + 0x78]
push eax
call fcn.00403568
mov edi, eax
add esp, 8
test edi, edi
jne 0x45d5c2
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
xor ecx, ecx
mov dword [edx], ecx
mov dword [eax], ecx
mov eax, ebp
add esp, 0x60
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
mov edx, dword [esp + 0x78]
push dword [edx + 0x24a0]
push dword [edx + 0x249c]
lea ecx, [esp + 0x40]
push ecx
push esi
push edi
call sub.OCI.dll_lxmopen
add esp, 0x18
xor esi, esi
test ebx, ebx
jle 0x45d631
mov edx, dword [esp + 0x74]
mov edx, dword [edx + 0x24a0]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov edi, dword [esp + 0x74]
lea ebp, [esp + 8]
push edx
push 0x40800000
mov eax, 0xffffffff
push eax
push ebp
push eax
lea edx, [esp + 0x48]
push edx
call sub.OCI.dll_lxoCpChar
add esp, 0x18
mov edx, dword [edi + 0x24a0]
add esi, dword [edx + 0x1c]
cmp esi, ebx
jl 0x45d602
mov ebp, dword [esp]
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x45d66b
mov edx, dword [esp + 0x48]
test edx, edx
je 0x45d66b
mov ebx, dword [esp + 0x40]
xor ecx, ecx
mov dword [esp + 0x48], ecx
movzx edx, byte [ebx + 0x47]
mov ebx, dword [esp + 0x3c]
lea esi, [ebx + 1]
mov dword [esp + 0x3c], esi
mov byte [ebx], dl
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov dword [esp + 0x3c], edx
mov byte [ebx], cl
jmp 0x45d6a6
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x1c]
test ecx, 0x4000000
je 0x45d698
mov ebx, dword [esp + 0x3c]
lea ecx, [ebx + 1]
mov dword [esp + 0x3c], ecx
xor edx, edx
mov byte [ebx], dl
mov ecx, dword [esp + 0x3c]
lea esi, [ecx + 1]
mov dword [esp + 0x3c], esi
mov byte [ecx], dl
jmp 0x45d6a6
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov dword [esp + 0x3c], edx
mov byte [ecx], 0
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [edx], edi
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x44]
lea ecx, [esi - 1]
mov dword [ebx], ecx
lea ebp, [ebp + esi - 1]
mov edi, dword [esp + 8]
test edi, edi
jne 0x45d728
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1c]
test edx, 0x4000000
jne 0x45d77a
mov edx, dword [esp + 0xc]
test edx, edx
je 0x45d6f7
mov edx, dword [esp + 0x1c]
test edx, edx
mov edx, 0
sete dl
jmp 0x45d724
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 0x24a0]
mov edx, dword [esp + 0x10]
mov ebx, dword [ecx]
movzx edi, word [eax + 0x24]
mov esi, dword [ebx]
mov ecx, dword [esi + edi*4]
add ecx, dword [eax]
movzx edx, byte [edx]
movzx edx, word [ecx + edx*2]
test dl, 3
mov edx, 0
sete dl
test edx, edx
je 0x45d77a
mov ebx, dword [esp + 0x10]
movsx edx, byte [esp + 0x84]
movzx ecx, byte [ebx]
movzx edx, dl
cmp ecx, edx
jne 0x45d77a
mov edx, dword [esp + 0x18]
sub ebx, edx
cmp ebx, dword [esp + 0x20]
jae 0x45d776
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x1c]
test cl, 0x10
je 0x45d75d
mov eax, 1
jmp 0x45d778
mov edx, dword [esp + 0x74]
push dword [edx + 0x24a0]
lea ecx, [esp + 0xc]
push ecx
call sub.OCI.dll_lxmfwdx
add esp, 8
jmp 0x45d778
xor eax, eax
add ebp, eax
mov eax, ebp
add esp, 0x60
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, esi
sub eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x4c]
jae 0x45d7c4
test dl, 0x10
je 0x45d7a3
add esi, 1
mov dword [esp + 0x3c], esi
mov eax, 1
jmp 0x45d7cd
mov eax, dword [esp + 0x74]
push dword [eax + 0x24a0]
lea edx, [esp + 0x38]
push edx
call sub.OCI.dll_lxmfwdx
add esp, 8
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x45d7cd
add esi, 1
mov dword [esp + 0x3c], esi
xor eax, eax
add ebx, eax
jmp 0x45d4f2