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

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x64]
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x2508]
mov ecx, dword [eax + 0x1c]
test ch, 2
je 0x43b8b6
mov ecx, dword [esp + 0x70]
mov al, byte [ecx]
test al, al
je 0x43ba0e
movsx edi, byte [esp + 0x7c]
and eax, 0xff
cmp eax, edi
je 0x43b844
mov al, byte [ecx + 1]
inc ebx
inc ecx
test al, al
jne 0x43b832
test ebx, ebx
je 0x43ba0e
lea eax, [ebx + 1]
push eax
push ebp
call fcn.00408a60
mov esi, eax
add esp, 8
test esi, esi
je 0x43ba0e
mov ecx, dword [ebp + 0x250c]
mov edx, dword [ebp + 0x2508]
mov ebp, dword [esp + 0x70]
push ecx
push edx
push 0x10000000
push ebx
push ebp
push ebx
push esi
call sub.oranls9.dll_lxsCpStr
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov byte [esi + ebx], 0
add ebp, ebx
mov dword [eax], esi
xor edx, edx
mov dword [ecx], ebx
mov dl, byte [ebp]
add esp, 0x1c
cmp edx, edi
jne 0x43bba5
inc ebp
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ecx, dword [ebp + 0x250c]
mov esi, dword [esp + 0x70]
push 0
push ecx
lea edx, [esp + 0x44]
push eax
push edx
push 0xffffffffffffffff
push esi
call sub.oranls9.dll_lxmopen
add esi, eax
mov eax, dword [esp + 0x60]
add esp, 0x18
mov dword [esp + 0x70], esi
test dword [eax + 0x1c], 0x4000000
je 0x43b8fd
mov eax, dword [esp + 0x44]
mov cl, byte [eax + 1]
test cl, cl
jne 0x43b90a
cmp byte [eax], 0
je 0x43ba0e
jmp 0x43b90a
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0
je 0x43ba0e
mov ecx, 0xb
lea esi, [esp + 0x3c]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x1c]
and eax, 0x4000000
je 0x43b93d
mov dl, byte [ecx + 1]
test dl, dl
jne 0x43b946
cmp byte [ecx], 0
je 0x43b9f7
jmp 0x43b946
cmp byte [ecx], 0
je 0x43b9f7
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x43b990
test eax, eax
jne 0x43b99f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43b967
mov edx, dword [esp + 0x24]
xor eax, eax
test edx, edx
sete al
jmp 0x43b98c
mov eax, dword [ebp + 0x250c]
xor edx, edx
mov dx, word [esi + 0x20]
mov edi, dword [eax + 0xc]
xor eax, eax
mov al, byte [ecx]
mov edx, dword [edi + edx*4]
lea eax, [edx + eax*2]
mov edx, dword [esi]
mov al, byte [eax + edx]
and al, 3
neg al
sbb eax, eax
inc eax
test eax, eax
je 0x43b99f
mov dl, byte [esp + 0x7c]
xor eax, eax
cmp byte [ecx], dl
sete al
test eax, eax
jne 0x43b9f7
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, ecx
sub eax, edi
cmp eax, edx
jae 0x43b9e9
test byte [esi + 0x1c], 0x10
je 0x43b9c6
inc ecx
mov eax, 1
mov dword [esp + 0x18], ecx
add ebx, eax
jmp 0x43b921
mov ecx, dword [ebp + 0x250c]
lea edx, [esp + 0x10]
push ecx
push edx
call sub.oranls9.dll_lxmfwdx
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add esp, 8
add ebx, eax
jmp 0x43b921
inc ecx
xor eax, eax
mov dword [esp + 0x18], ecx
add ebx, eax
jmp 0x43b921
test ebx, ebx
je 0x43ba0e
lea esi, [ebx + 2]
push esi
push ebp
call fcn.00408a60
mov edi, eax
add esp, 8
test edi, edi
jne 0x43ba2e
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
mov dword [eax], 0
mov eax, dword [esp + 0x68]
pop ebp
mov dword [ecx], 0
pop ebx
add esp, 0x58
ret
mov edx, dword [ebp + 0x250c]
mov eax, dword [ebp + 0x2508]
push 1
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
push edi
call sub.oranls9.dll_lxmopen
add esp, 0x18
xor esi, esi
test ebx, ebx
jle 0x43ba82
mov eax, dword [ebp + 0x250c]
push eax
push 0x40800000
lea edx, [esp + 0x44]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
call sub.oranls9.dll_lxoCpChar
mov eax, dword [ebp + 0x250c]
add esp, 0x18
add esi, dword [eax + 4]
cmp esi, ebx
jl 0x43ba59
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43bab2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43bab2
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov dl, byte [ecx + 0x45]
mov byte [eax], dl
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x43bad5
mov ecx, dword [esp + 0x1c]
test dword [ecx + 0x1c], 0x4000000
je 0x43bad1
mov edx, dword [esp + 0x18]
mov byte [edx], 0
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x43bad5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov byte [eax], 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
inc eax
mov esi, dword [esp + 0x44]
mov dword [esp + 0x18], eax
sub eax, edx
mov edx, dword [esp + 0x78]
mov dword [ecx], edi
mov ecx, dword [esp + 0x70]
dec eax
mov dword [edx], eax
add ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x48]
test eax, eax
jne 0x43bb59
test dword [ecx + 0x1c], 0x4000000
jne 0x43bba1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43bb30
mov edx, dword [esp + 0x50]
xor eax, eax
test edx, edx
sete al
jmp 0x43bb55
mov edx, dword [ebp + 0x250c]
xor eax, eax
mov ax, word [ecx + 0x20]
xor ebx, ebx
mov edx, dword [edx + 0xc]
mov bl, byte [esi]
mov eax, dword [edx + eax*4]
lea edx, [eax + ebx*2]
mov eax, dword [ecx]
mov al, byte [edx + eax]
and al, 3
neg al
sbb eax, eax
inc eax
test eax, eax
je 0x43bba1
mov dl, byte [esp + 0x7c]
mov bl, byte [esi]
xor eax, eax
cmp bl, dl
sete al
test eax, eax
je 0x43bba1
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
sub esi, edx
cmp esi, eax
jae 0x43bb9b
test byte [ecx + 0x1c], 0x10
je 0x43bb85
mov eax, 1
jmp 0x43bb9d
mov eax, dword [ebp + 0x250c]
lea ecx, [esp + 0x3c]
push eax
push ecx
call sub.oranls9.dll_lxmfwdx
add esp, 8
jmp 0x43bb9d
xor eax, eax
add dword [esp + 0x70], eax
mov ebp, dword [esp + 0x70]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x58
ret