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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x7c
mov esi, dword [esp + 0x90]
mov ecx, dword [esi + 0x249c]
mov eax, 1
mov edi, dword [esp + 0x94]
mov dword [esp + 0x58], eax
xor ebp, ebp
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 0x1c]
test edx, 0x200
jne 0x445d47
test edx, 0x4000000
jne 0x4458a3
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x44589f
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x445893
mov ebx, eax
jmp 0x4458ae
push edi
call sub.OCI.dll_lxsulen
mov ebx, eax
add esp, 4
lea edx, [ebx + 1]
push edx
push esi
call fcn.00403568
mov dword [esp + 0x64], eax
add esp, 8
mov edx, eax
test edx, edx
je 0x4460fb
push 0
push dword [esi + 0x24a0]
push dword [esi + 0x249c]
lea edx, [esp + 0xc]
push edx
push ebx
push edi
call sub.OCI.dll_lxmopen
add esp, 0x18
mov dword [esp + 0x74], ebp
add eax, edi
mov dword [esp + 0x64], ebx
mov ebx, eax
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
neg edx
add edx, edi
cmp edx, ecx
je 0x445e89
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x64]
lea ecx, [edx + ecx]
cmp ebp, ecx
jb 0x4460d3
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x1c]
test edx, 0x4000000
je 0x445941
movzx edx, byte [edi + 1]
test edx, edx
jne 0x44594c
movzx edx, byte [edi]
test edx, edx
je 0x445a0e
jmp 0x44594c
movzx edx, byte [edi]
test edx, edx
je 0x445a0e
lea ebp, [esp]
mov edx, dword [esp]
test edx, edx
je 0x445975
mov edx, dword [esi + 0x24a0]
mov eax, dword [edx]
movzx edx, word [ecx + 0x24]
mov eax, dword [eax]
mov edx, dword [eax + edx*4]
add edx, dword [ecx]
movzx ecx, byte [edi]
movzx eax, word [edx + ecx*2]
and eax, 0x40
jmp 0x445984
push dword [esi + 0x24a0]
push ebp
call sub.OCI.dll_lxmspax
add esp, 8
test eax, eax
je 0x445a0e
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x10]
neg edx
add edx, edi
cmp edx, dword [esp + 0x18]
jae 0x4459d1
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x1c]
test dl, 0x10
je 0x4459b8
add edi, 1
mov dword [esp + 8], edi
mov eax, 1
jmp 0x4459de
push dword [esi + 0x24a0]
push ebp
call sub.OCI.dll_lxmfwdx
add esp, 8
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x4459de
mov ecx, dword [esp + 0xc]
add edi, 1
mov dword [esp + 8], edi
xor eax, eax
mov edx, dword [ecx + 0x1c]
add ebx, eax
test edx, 0x4000000
je 0x445a03
movzx edx, byte [edi + 1]
test edx, edx
jne 0x44594f
movzx edx, byte [edi]
test edx, edx
je 0x445a0e
jmp 0x44594f
movzx edx, byte [edi]
test edx, edx
jne 0x44594f
mov edx, dword [esp]
mov ecx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x24c8]
add edx, 0xffffffff
push edx
mov edx, dword [esp + 0x68]
push edx
lea edx, [esp + 0x34]
push edx
push ebx
push esi
call fcn.0044535c
mov ebp, eax
add esp, 0x14
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov edi, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 8]
sub edx, dword [esp + 0x10]
test ecx, ecx
mov dword [esp + 0x6c], edx
je 0x445aff
mov edi, dword [esp + 0x34]
mov dword [esp + 0x78], edi
mov edx, 1
mov dword [esp + 0x74], edx
jmp 0x445b60
mov edx, dword [esp + 0x30]
test edx, edx
je 0x445b30
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x78], edx
test edi, edi
je 0x445b25
mov edx, dword [esp + 0x38]
movzx edi, byte [edx + 0x46]
mov dword [esp + 0x74], edi
jmp 0x445b60
mov edx, 1
mov dword [esp + 0x74], edx
jmp 0x445b60
mov eax, dword [esp + 0x38]
mov edx, dword [esi + 0x24a0]
mov edx, dword [edx]
movzx edi, word [eax + 0x24]
mov edx, dword [edx]
mov edx, dword [edx + edi*4]
add edx, dword [eax]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x78], edi
movzx edi, byte [edi]
movzx edx, word [edx + edi*2]
and edx, 3
add edx, 1
mov dword [esp + 0x74], edx
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
neg edi
add edi, dword [esp + 0x74]
add edi, dword [esp + 0x78]
sub edi, edx
cmp edi, ebp
ja 0x445ea7
test ecx, ecx
jne 0x445bf1
mov edx, dword [esp + 0x38]
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x6c], edx
test edi, 0x4000000
jne 0x445c01
mov edx, dword [esp + 0x30]
test edx, edx
je 0x445bb3
mov edi, dword [esp + 0x40]
test edi, edi
mov edx, 0
sete dl
mov dword [esp + 0x6c], edx
jmp 0x445bed
mov edi, dword [esi + 0x24a0]
mov edx, dword [edi]
mov edx, dword [edx]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x6c]
movzx edi, word [ebp + 0x24]
mov edi, dword [edx + edi*4]
add edi, dword [ebp]
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x68]
movzx edx, byte [edx]
movzx edx, word [edi + edx*2]
test dl, 3
mov edx, 0
sete dl
mov dword [esp + 0x6c], edx
test edx, edx
je 0x445c01
mov edx, dword [esp + 0x78]
movzx edi, byte [edx]
cmp edi, 0xa
je 0x445ea7
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x70]
mov eax, ebp
sub eax, ebx
cmp eax, dword [esp + 0x44]
jae 0x445c58
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x1c]
test dl, 0x10
je 0x445c30
add ebp, 1
mov dword [esp + 0x34], ebp
jmp 0x445c5f
mov eax, dword [esp + 0x90]
push dword [eax + 0x24a0]
lea edx, [esp + 0x30]
push edx
call sub.OCI.dll_lxmfwdx
add esp, 8
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
jmp 0x445c5f
add ebp, 1
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 8]
sub esi, dword [esp + 0x10]
test ecx, ecx
je 0x445c72
mov edx, 1
jmp 0x445cbf
mov eax, dword [esp + 0x30]
test eax, eax
je 0x445c93
mov eax, dword [esp + 0x40]
test eax, eax
je 0x445c8c
mov eax, dword [esp + 0x38]
movzx edx, byte [eax + 0x46]
jmp 0x445cbf
mov edx, 1
jmp 0x445cbf
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x90]
mov eax, dword [edi + 0x24a0]
mov edi, dword [eax]
movzx eax, word [edx + 0x24]
mov edi, dword [edi]
mov eax, dword [edi + eax*4]
add eax, dword [edx]
movzx edx, byte [ebp]
movzx edx, word [eax + edx*2]
and edx, 3
add edx, 1
mov eax, dword [esp + 0x68]
neg esi
add esi, edx
add esi, ebp
sub esi, ebx
cmp esi, eax
ja 0x4460b5
test ecx, ecx
jne 0x445d35
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x1c]
test eax, 0x4000000
jne 0x445c11
mov eax, dword [esp + 0x30]
test eax, eax
je 0x445d01
mov eax, dword [esp + 0x40]
test eax, eax
mov eax, 0
sete al
jmp 0x445d2d
mov edi, dword [esp + 0x90]
mov eax, dword [edi + 0x24a0]
mov edi, dword [eax]
movzx eax, word [esi + 0x24]
mov edi, dword [edi]
mov eax, dword [edi + eax*4]
add eax, dword [esi]
movzx esi, byte [ebp]
movzx eax, word [eax + esi*2]
test al, 3
mov eax, 0
sete al
test eax, eax
je 0x445c11
movzx eax, byte [ebp]
cmp eax, 0xa
jne 0x445c11
jmp 0x44615e
add edi, ebx
push edi
mov eax, dword [esp + 0x94]
push eax
call fcn.00457d38
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x90]
mov edx, dword [eax + 0x249c]
mov ecx, dword [edx + 0x1c]
test ecx, 0x4000000
jne 0x445d8e
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x445d8a
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x445d7e
mov esi, eax
jmp 0x445d99
push edi
call sub.OCI.dll_lxsulen
mov esi, eax
add esp, 4
test esi, esi
je 0x445e82
mov edx, dword [esp + 0x90]
push dword [edx + 0x24c4]
push esi
push edi
push edx
call fcn.00445300
mov ebx, eax
add esp, 0x10
mov ebp, edi
lea ecx, [edi + ebx]
lea edx, [edi + ebx + 1]
cmp edi, edx
jae 0x446156
sub ecx, edi
add ecx, 1
cmp ecx, 6
jb 0x445e1a
lea eax, [ebx + edi - 5]
movzx ecx, byte [ebp]
cmp ecx, 0xa
je 0x445e2e
add ebp, 1
movzx ecx, byte [ebp]
cmp ecx, 0xa
je 0x445e2e
add ebp, 1
movzx ecx, byte [ebp]
cmp ecx, 0xa
je 0x445e2e
add ebp, 1
movzx ecx, byte [ebp]
cmp ecx, 0xa
je 0x445e2e
add ebp, 1
movzx ecx, byte [ebp]
cmp ecx, 0xa
je 0x445e2e
add ebp, 1
cmp ebp, eax
jbe 0x445dda
movzx ecx, byte [ebp]
cmp ecx, 0xa
je 0x445e2e
add ebp, 1
cmp ebp, edx
jb 0x445e1a
movzx ecx, byte [ebp]
cmp ecx, 0xa
je 0x44611a
push edi
push ebx
push ebx
push str._.s_n
push 2
mov edx, dword [esp + 0xa4]
push edx
call fcn.0042e1b4
add esp, 0x18
mov edx, dword [esp + 0x90]
mov edx, dword [edx + 0x4730]
movzx ecx, byte [edx]
test cl, 1
je 0x445d47
push edx
push 5
mov edx, dword [esp + 0x98]
push edx
call fcn.00432060
add esp, 0xc
jmp 0x445d47
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x445e9b
push eax
push esi
call fcn.00430044
add esp, 8
mov eax, dword [esp + 0x58]
add esp, 0x7c
pop ebx
pop ebp
pop esi
pop edi
ret
test ecx, ecx
jne 0x445f07
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0x1c]
test ecx, 0x4000000
jne 0x445f17
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x445ed6
mov edi, dword [esp + 0x40]
test edi, edi
mov edx, 0
sete dl
mov dword [esp + 0x6c], edx
jmp 0x445f03
mov edi, dword [esi + 0x24a0]
mov ecx, dword [edi]
movzx edi, word [edx + 0x24]
mov ecx, dword [ecx]
mov ecx, dword [ecx + edi*4]
add ecx, dword [edx]
mov edx, dword [esp + 0x78]
movzx edx, byte [edx]
movzx edx, word [ecx + edx*2]
test dl, 3
mov edx, 0
sete dl
mov dword [esp + 0x6c], edx
test edx, edx
je 0x445f17
mov edx, dword [esp + 0x78]
movzx ecx, byte [edx]
cmp ecx, 0xa
je 0x446007
push 1
push dword [esi + 0x24a0]
lea ecx, [ebp + 1]
push dword [esi + 0x249c]
lea edx, [esp + 0x38]
push edx
push ecx
mov edi, dword [esp + 0x70]
push edi
call sub.OCI.dll_lxmopen
push dword [esi + 0x24a0]
push 0x10000000
push ebp
lea edx, [esp + 0x24]
push edx
push ebp
lea ecx, [esp + 0x58]
push ecx
call sub.OCI.dll_lxoCpStr
add esp, 0x30
mov edx, dword [esp + 0x30]
test edx, edx
je 0x445f93
mov edx, dword [esp + 0x40]
test edx, edx
je 0x445f93
mov ebp, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x40], ecx
movzx edx, byte [ebp + 0x47]
mov ebp, dword [esp + 0x34]
lea edi, [ebp + 1]
mov dword [esp + 0x34], edi
mov byte [ebp], dl
mov ebp, dword [esp + 0x34]
lea edx, [ebp + 1]
mov dword [esp + 0x34], edx
mov byte [ebp], cl
jmp 0x445fcf
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0x1c]
test ecx, 0x4000000
je 0x445fc1
mov ebp, dword [esp + 0x34]
lea ecx, [ebp + 1]
mov dword [esp + 0x34], ecx
xor edx, edx
mov byte [ebp], dl
mov ecx, dword [esp + 0x34]
lea edi, [ecx + 1]
mov dword [esp + 0x34], edi
mov byte [ecx], dl
jmp 0x445fcf
mov ecx, dword [esp + 0x34]
lea edx, [ecx + 1]
mov dword [esp + 0x34], edx
mov byte [ecx], 0
mov edx, dword [esp + 0x5c]
push edx
push 0x477650
push 2
push esi
call fcn.0042e1b4
add esp, 0x10
mov ecx, dword [esi + 0x4730]
movzx edx, byte [ecx]
test dl, 1
je 0x4458f2
push ecx
push 5
push esi
call fcn.00432060
add esp, 0xc
jmp 0x4458f2
mov ebp, dword [esp + 0x70]
add edx, ebp
sub edx, ebp
mov byte [edx], 0x20
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 8]
sub ebp, dword [esp + 0x10]
neg ebp
add ebp, ecx
sub ebp, edi
add ebp, 1
add edi, 1
cmp ecx, edi
jbe 0x446042
lea edx, [esp + 0x2c]
push edx
push dword [esi + 4]
call fcn.00472b00
add esp, 8
mov edx, dword [esp]
mov ecx, dword [esp + 4]
mov edi, dword [esp + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], edx
push ebp
mov ebp, dword [esp + 0x68]
push ebp
lea edx, [esp + 0x34]
push edx
push ebx
push esi
call fcn.0044535c
mov ebp, eax
add esp, 0x14
jmp 0x445f17
mov esi, dword [esp + 0x90]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x78], ebp
mov ebp, eax
mov dword [esp + 0x74], edx
jmp 0x445ea7
mov ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x64]
push ebx
push ebp
push edx
push 3
push 1
push 0x859
push esi
call fcn.00435654
add esp, 0x1c
xor eax, eax
mov dword [esp + 0x58], eax
jmp 0x445e89
push 0
push 0x165
push 1
push 2
push esi
call fcn.0042be1c
add esp, 0x14
xor eax, eax
mov dword [esp + 0x58], eax
jmp 0x445e89
cmp ebp, edx
jae 0x445e37
mov byte [ebp], 0x20
push ebp
push edi
mov edx, dword [esp + 0x98]
push dword [edx + 4]
call fcn.00472adc
sub ebp, edi
add ebp, 1
push ebp
push esi
push edi
mov eax, dword [esp + 0xa8]
push eax
call fcn.00445300
mov ebx, eax
add esp, 0x1c
jmp 0x445e37
movzx ecx, byte [edi]
jmp 0x445e2e
mov esi, dword [esp + 0x90]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x74], edx
jmp 0x445ea7