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

Disassembly:
sub esp, 0x90
push ebp
mov ebp, dword [esp + 0x98]
push esi
xor esi, esi
mov eax, dword [ebp + 0x2574]
mov byte [esp + 0xa], 0
inc eax
mov dword [esp + 0xc], esi
push eax
push ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], 1
call fcn.00408a60
add esp, 8
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x44004e
pop esi
xor eax, eax
pop ebp
add esp, 0x90
ret
mov ecx, dword [ebp + 0x2574]
push ebx
push edi
mov byte [eax + ecx], 0
mov al, byte [ebp + 0x2450]
test al, 4
je 0x440074
push 1
push ebp
call fcn.00442c90
add esp, 8
jmp 0x44099b
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x34], 0xffffffff
test al, 8
mov ecx, dword [edx + 0x48]
mov dword [esp + 0x3c], ecx
jne 0x4400c5
test al, 2
je 0x440099
mov byte [esp + 0x13], 1
jmp 0x4400ca
mov eax, dword [ebp + 0x4780]
cmp dword [eax], esi
je 0x4400a8
mov eax, dword [eax + 0x10]
jmp 0x4400aa
xor eax, eax
mov edx, dword [ebp + 0x24f8]
sub edx, eax
test edx, edx
jg 0x4400c5
mov eax, dword [ebp + 0x25c0]
mov byte [esp + 0x13], 1
cmp eax, esi
jne 0x4400ca
mov byte [esp + 0x13], 0
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
je 0x4400f5
cmp dword [esp + 0x24], eax
jne 0x440923
mov ecx, dword [ebp + 0x2574]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov eax, 0x20202020
mov edi, edx
xor esi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov dword [esp + 0x28], esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x2508]
mov ecx, dword [eax + 0x1c]
test ch, 2
jne 0x44014e
mov ecx, dword [ebp + 0x250c]
push 1
push ecx
mov ecx, dword [ebp + 0x2574]
push eax
lea eax, [esp + 0x80]
push eax
push ecx
push edx
call sub.oranls9.dll_lxmopen
add esp, 0x18
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x3c]
cmp ebx, esi
je 0x4408ad
mov eax, dword [ebx + 0x50]
test al, 0x10
jne 0x44089d
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x440175
test al, 0x20
jne 0x44089d
test al, 0x80
je 0x44018a
mov eax, dword [ebx + 0x50]
mov edx, dword [ebx + 0x3c]
and al, 0x7f
mov dword [esp + 0x20], edx
mov dword [ebx + 0x50], eax
jmp 0x440191
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x4401a3
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0x1878]
test eax, eax
je 0x44020a
mov eax, dword [ebx + 0x88]
cmp dword [eax], 0
jne 0x44020a
mov ecx, dword [eax + 0xc]
test dword [ecx + 0x1c], 0x4000000
jne 0x4401f8
mov edx, dword [eax + 4]
test edx, edx
je 0x4401d0
mov eax, dword [eax + 0x14]
jmp 0x4401f4
mov esi, dword [ebp + 0x250c]
mov edi, dword [eax + 8]
xor edx, edx
xor eax, eax
mov dx, word [ecx + 0x20]
mov esi, dword [esi + 0xc]
mov al, byte [edi]
mov ecx, dword [ecx]
mov edx, dword [esi + edx*4]
lea eax, [edx + eax*2]
mov al, byte [eax + ecx]
and eax, 3
test eax, eax
je 0x44020a
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x38]
cmp edx, eax
jne 0x44020a
mov eax, edx
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x2578]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x440222
mov dword [esp + 0x18], eax
mov esi, dword [ebp + 0x25c8]
mov byte [esp + 0x12], 0
test esi, esi
je 0x44052f
mov edi, dword [ebx + 0x3c]
mov ecx, dword [ebp + 0x25c4]
cmp edi, ecx
jbe 0x44052f
mov eax, dword [ebp + 0x2508]
mov edx, dword [eax + 0x1c]
test dh, 2
je 0x44026f
mov eax, dword [esp + 0x1c]
sub edi, ecx
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x44052f
mov edi, ecx
mov ecx, dword [ebp + 0x250c]
push 0
push ecx
lea edx, [esp + 0x50]
push eax
push edx
push 0xffffffffffffffff
push esi
mov dword [esp + 0x50], edi
call sub.oranls9.dll_lxmopen
mov ecx, dword [ebp + 0x25c4]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x3c]
add esp, 0x18
lea esi, [ecx + edx]
cmp eax, esi
jbe 0x4402ce
mov esi, dword [ebp + 0x250c]
sub eax, ecx
push esi
sub eax, edx
push 0x10000000
push eax
lea eax, [esp + 0x80]
push eax
call sub.oranls9.dll_lxoSkip
mov ecx, dword [esp + 0x24]
add esp, 0x10
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x1878]
test eax, eax
je 0x4403c7
mov eax, dword [ebp + 0x25c4]
test eax, eax
jle 0x4403c7
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x440344
mov eax, dword [esp + 0x54]
test dword [eax + 0x1c], 0x4000000
jne 0x44033a
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x44030d
mov eax, dword [esp + 0x5c]
jmp 0x440336
mov edx, dword [ebp + 0x250c]
mov esi, dword [esp + 0x50]
xor ecx, ecx
mov cx, word [eax + 0x20]
mov eax, dword [edx + 0xc]
xor edx, edx
mov dl, byte [esi]
mov eax, dword [eax + ecx*4]
lea ecx, [eax + edx*2]
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov al, byte [ecx + eax]
and eax, 3
test eax, eax
je 0x440344
mov ecx, dword [esp + 0x14]
inc ecx
dec edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x4404f8
mov ecx, dword [ebp + 0x250c]
lea edx, [esp + 0x48]
push ecx
push edx
call sub.oranls9.dll_lxmdssln
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
add edx, eax
mov eax, dword [ebp + 0x250c]
push eax
push ecx
mov dword [esp + 0x24], edx
call sub.oranls9.dll_lxmdssln
add esp, 0x10
cmp edi, eax
jae 0x440383
mov eax, edi
jmp 0x440397
mov edx, dword [ebp + 0x250c]
lea eax, [esp + 0x48]
push edx
push eax
call sub.oranls9.dll_lxmdssln
add esp, 8
mov ecx, dword [ebp + 0x250c]
lea edx, [esp + 0x48]
push ecx
push 0x40800000
sub edi, eax
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x84]
push 0xffffffffffffffff
push eax
call sub.oranls9.dll_lxoCpChar
add esp, 0x18
test edi, edi
jne 0x44034c
jmp 0x4404f8
test edi, edi
je 0x4404f8
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
test eax, eax
jne 0x44042a
test dword [ecx + 0x1c], 0x4000000
jne 0x440431
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4403f9
mov edx, dword [esp + 0x5c]
xor eax, eax
test edx, edx
sete al
jmp 0x440426
mov eax, dword [ebp + 0x250c]
mov edi, dword [esp + 0x50]
xor edx, edx
mov dx, word [ecx + 0x20]
mov esi, dword [eax + 0xc]
xor eax, eax
mov al, byte [edi]
mov edx, dword [esi + edx*4]
mov edi, dword [esp + 0x38]
lea eax, [edx + eax*2]
mov edx, dword [ecx]
mov al, byte [eax + edx]
and al, 3
neg al
sbb eax, eax
inc eax
test eax, eax
je 0x440431
mov eax, 1
jmp 0x440449
mov eax, dword [ebp + 0x250c]
lea ecx, [esp + 0x48]
push eax
push ecx
call sub.oranls9.dll_lxmdspx
mov ecx, dword [esp + 0x5c]
add esp, 8
mov edx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0x14], edx
jne 0x4404aa
test dword [ecx + 0x1c], 0x4000000
jne 0x4404b1
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x440479
mov ecx, dword [esp + 0x5c]
xor eax, eax
test ecx, ecx
sete al
jmp 0x4404a6
mov eax, dword [ebp + 0x250c]
mov edi, dword [esp + 0x50]
xor edx, edx
mov dx, word [ecx + 0x20]
mov esi, dword [eax + 0xc]
mov ecx, dword [ecx]
xor eax, eax
mov al, byte [edi]
mov edx, dword [esi + edx*4]
mov edi, dword [esp + 0x38]
lea eax, [edx + eax*2]
mov al, byte [eax + ecx]
and al, 3
neg al
sbb eax, eax
inc eax
test eax, eax
je 0x4404b1
mov eax, 1
jmp 0x4404c5
mov edx, dword [ebp + 0x250c]
lea eax, [esp + 0x48]
push edx
push eax
call sub.oranls9.dll_lxmdspx
add esp, 8
mov ecx, dword [ebp + 0x250c]
lea edx, [esp + 0x48]
push ecx
push 0x40800000
sub edi, eax
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x84]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x50], edi
call sub.oranls9.dll_lxoCpChar
add esp, 0x18
test edi, edi
jne 0x4403cf
mov eax, dword [esp + 0x78]
test eax, eax
je 0x44052f
mov eax, dword [esp + 0x88]
test eax, eax
je 0x44052f
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x88], 0
mov dl, byte [ecx + 0x45]
mov byte [eax], dl
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x440700
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x12]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
push ebp
call fcn.004409c0
mov ax, word [ebx + 0x48]
add esp, 0x14
cmp ax, 0x70
je 0x44056f
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x44089d
cmp ax, 0x70
jne 0x440581
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x440581
mov eax, dword [ebx + 0x6c]
test eax, eax
jne 0x44089d
mov ecx, dword [ebp + 0x2508]
mov eax, dword [ecx + 0x1c]
test ah, 2
jne 0x4406a6
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
cmp edi, eax
jbe 0x4405c7
mov edx, dword [ebp + 0x250c]
mov ecx, edi
push edx
sub ecx, eax
push 0x10000000
lea edx, [esp + 0x7c]
push ecx
push edx
call sub.oranls9.dll_lxoSkip
mov ecx, dword [esp + 0x24]
add esp, 0x10
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x1878]
test eax, eax
je 0x4406aa
mov eax, dword [ebx + 0x88]
cmp dword [eax], 0
je 0x4405e4
xor eax, eax
jmp 0x44062b
mov ecx, dword [eax + 0xc]
test dword [ecx + 0x1c], 0x4000000
je 0x4405f7
mov eax, 1
jmp 0x44062b
mov edx, dword [eax + 4]
test edx, edx
je 0x440603
mov eax, dword [eax + 0x14]
jmp 0x44062b
mov esi, dword [ebp + 0x250c]
mov edi, dword [eax + 8]
xor edx, edx
xor eax, eax
mov dx, word [ecx + 0x20]
mov esi, dword [esi + 0xc]
mov al, byte [edi]
mov ecx, dword [ecx]
mov edx, dword [esi + edx*4]
mov edi, dword [esp + 0x20]
lea eax, [edx + eax*2]
mov al, byte [eax + ecx]
and eax, 3
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
setne dl
add ecx, edx
mov dword [esp + 0x14], ecx
cmp word [ebx + 0x48], 0x70
jne 0x44069c
mov eax, dword [ebx + 0x88]
cmp dword [eax], 0
jne 0x44069c
mov ecx, dword [eax + 0xc]
test dword [ecx + 0x1c], 0x4000000
jne 0x440692
mov edx, dword [eax + 4]
test edx, edx
je 0x440666
mov eax, dword [eax + 0x14]
jmp 0x44068e
mov esi, dword [ebp + 0x250c]
mov edi, dword [eax + 8]
xor edx, edx
xor eax, eax
mov dx, word [ecx + 0x20]
mov esi, dword [esi + 0xc]
mov al, byte [edi]
mov ecx, dword [ecx]
mov edx, dword [esi + edx*4]
mov edi, dword [esp + 0x20]
lea eax, [edx + eax*2]
mov al, byte [eax + ecx]
and eax, 3
test eax, eax
je 0x44069c
mov dword [esp + 0x2c], 1
jmp 0x4406aa
mov dword [esp + 0x2c], 0
jmp 0x4406aa
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x18]
movsx ecx, di
lea eax, [esp + 0x14]
push edx
push eax
mov eax, dword [ebp + 4]
lea edx, [esp + 0x7c]
push ecx
push edx
push esi
push ebx
push eax
call fcn.00417bf0
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0x30]
add edx, ecx
add esp, 0x1c
mov dword [ebx + 0x30], edx
mov edx, dword [ebp + 0x2508]
mov eax, dword [edx + 0x1c]
test ah, 2
mov eax, dword [esp + 0x18]
jne 0x4406fb
cmp eax, dword [ebx + 0x34]
jbe 0x4406fb
mov dword [ebx + 0x34], 0
jmp 0x440708
sub dword [ebx + 0x34], eax
jmp 0x440708
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp word [ebx + 0x48], 0x70
jne 0x44080b
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x44080b
mov al, byte [esp + 0x12]
test al, al
jne 0x44080b
mov eax, dword [ebx + 0x6c]
test eax, eax
jne 0x44080b
test byte [ebp + 0x2450], 8
jne 0x44080b
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x12]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x80]
push edi
push eax
lea ecx, [esp + 0x2c]
push esi
push ecx
push ebx
push ebp
call fcn.00441550
add esp, 0x24
sub eax, 0
je 0x440782
dec eax
je 0x44099b
dec eax
je 0x44089d
jmp 0x44080b
mov edx, dword [ebp + 0x2508]
mov eax, dword [edx + 0x1c]
test ah, 2
jne 0x44079d
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x28]
sub eax, edi
cmp eax, ecx
jb 0x4407a5
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x440803
cmp word [ebx + 0x48], 0x70
jne 0x44080b
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x44080b
mov al, byte [esp + 0x12]
test al, al
jne 0x44080b
mov eax, dword [ebx + 0x6c]
test eax, eax
jne 0x44080b
test byte [ebp + 0x2450], 8
jne 0x44080b
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x12]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x80]
push edi
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
push ebx
push ebp
call fcn.00441550
add esp, 0x24
dec eax
je 0x44099b
dec eax
je 0x44089d
jmp 0x44080b
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, ecx
je 0x440848
mov eax, dword [ebx + 0x34]
cmp eax, ecx
je 0x440822
test byte [ebx + 0x50], 4
jne 0x440838
cmp word [ebx + 0x48], 0x70
jne 0x440842
test byte [ebx + 0x50], 4
je 0x440842
cmp eax, ecx
jne 0x440838
cmp dword [ebx + 0x6c], ecx
jne 0x440842
mov dword [esp + 0x28], 1
jmp 0x440848
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x6c], ecx
cmp word [ebx + 0x48], 0x74
jne 0x44089d
cmp dword [esp + 0x24], 1
jne 0x440899
push 0x46c5b0
push 1
push ebp
call fcn.00406990
mov eax, dword [ebx + 4]
push eax
push 1
push 0x2ac
push 2
push 2
push ebp
call fcn.00409560
push 0x46c5b4
push 1
push ebp
call fcn.00406990
mov ecx, dword [esp + 0xd8]
push ebx
push ecx
push ebp
call fcn.00442a20
add esp, 0x3c
jmp 0x44089d
inc dword [esp + 0x30]
test byte [ebx + 0x50], 1
jne 0x4408ad
mov ebx, dword [ebx]
test ebx, ebx
jne 0x44015a
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
inc ecx
test eax, eax
mov dword [esp + 0x40], ecx
jne 0x4408ee
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa8]
push 1
push edx
push eax
push ebp
call fcn.00417610
mov eax, dword [esp + 0x44]
add esp, 0x10
inc eax
mov dword [esp + 0x34], eax
jne 0x4408f6
push 1
push ebp
call fcn.00442c90
add esp, 8
jmp 0x4408f6
mov dword [esp + 0x24], 0
cmp word [esp + 0x30], 0
jbe 0x4400de
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4400de
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 1
jmp 0x4400de
xor esi, esi
cmp ebx, esi
je 0x44093c
mov eax, dword [ebx]
cmp eax, esi
mov dword [esp + 0x3c], eax
jne 0x4400ce
mov eax, 1
cmp dword [esp + 0x34], esi
je 0x44098c
cmp dword [ebp + 0x17f8], eax
jne 0x44098c
mov ecx, dword [ebp + 0x2574]
xor eax, eax
mov al, byte [ebp + 0x17fc]
mov esi, dword [esp + 0x1c]
mov bl, al
mov edx, ecx
mov bh, bl
mov edi, esi
mov eax, ebx
push 1
shl eax, 0x10
mov ax, bx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xb0]
push eax
push ebp
call fcn.00417610
add esp, 0x10
mov al, byte [esp + 0x13]
test al, al
je 0x44099b
and byte [ebp + 0x2450], 0xfd
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
call fcn.0040f330
add esp, 8
mov eax, 1
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x90
ret