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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x2508]
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov cl, byte [eax + 0x44]
push edi
lea edi, [esi + edx + 0xc]
mov dword [esp + 0x18], 1
imul ecx, edi
push ecx
push ebp
call fcn.00408a60
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42f607
mov edx, dword [ebp + 0x2508]
xor eax, eax
mov al, byte [edx + 0x44]
imul eax, edi
push eax
push ebp
call fcn.00408a60
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x42f611
push ebx
push ebp
call fcn.0040f330
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
add ecx, edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x4c]
test al, al
je 0x42f696
mov eax, dword [ebp + 0x4820]
test eax, eax
mov eax, dword [ebp + 0x4824]
je 0x42f670
test eax, eax
jne 0x42f674
mov edx, dword [esp + 0x44]
lea ecx, [edx + 1]
mov edx, ecx
mov eax, 0x20202020
mov edi, ebx
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 + 0x44]
mov byte [ebx + eax + 1], 0
jmp 0x42f6d0
test eax, eax
je 0x42f68d
mov edx, ebx
mov ecx, 0x20202020
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov word [edx + 8], cx
mov byte [edx + 0xa], cl
mov byte [ebx + 0xb], 0
jmp 0x42f6d0
mov byte [ebx], 0x20
mov byte [ebx + 1], 0
jmp 0x42f6d0
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x42f6a7
mov eax, dword [esp + 0x44]
lea ecx, [eax + 1]
jmp 0x42f650
mov ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x42f6d0
test eax, eax
jne 0x42f6d0
lea ecx, [esi + 0xb]
mov eax, 0x20202020
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov byte [ebx + esi + 0xb], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jl 0x42f72f
mov eax, dword [ebp + 0x250c]
mov edx, dword [ebp + 0x2508]
push eax
mov eax, dword [esp + 0x28]
push edx
push 0x10000000
push ecx
push 0xffffffffffffffff
push eax
call sub.oranls9.dll_lxsCntByte
mov ecx, dword [ebp + 0x250c]
mov edx, dword [ebp + 0x2508]
push ecx
mov edi, eax
mov eax, dword [esp + 0x40]
push edx
push 0x10000000
push edi
push eax
push 0xffffffffffffffff
push ebx
call sub.oranls9.dll_lxsCatStr
mov ecx, dword [esp + 0x78]
add esp, 0x34
add edi, ebx
mov byte [edi + ecx + 1], 0
jmp 0x42f784
test eax, eax
jle 0x42f784
mov edx, dword [ebp + 0x250c]
mov ecx, dword [ebp + 0x2508]
push edx
mov edx, dword [esp + 0x28]
push ecx
push 0x10000000
push eax
push 0xffffffffffffffff
push edx
call sub.oranls9.dll_lxsCntByte
mov ecx, dword [ebp + 0x2508]
mov edx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [ebp + 0x250c]
push eax
push ecx
push 0x10000000
push edi
push edx
push 0xffffffffffffffff
push ebx
call sub.oranls9.dll_lxsCatStr
mov eax, dword [esp + 0x78]
add esp, 0x34
add edi, ebx
mov byte [edi + eax + 1], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
test eax, eax
jle 0x42f7d7
test ecx, ecx
jle 0x42f7d7
mov edi, dword [esp + 0x1c]
lea edx, [esi + 0xb]
push ebx
push edx
push 0x46a208
push edi
call dword [0x461054]
lea ecx, [esi + 0xc]
mov esi, edi
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 0x10
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov eax, ecx
sub eax, edx
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x42f7fd
mov ecx, dword [ebp + 0x250c]
mov eax, dword [ebp + 0x2508]
push ecx
push eax
push 0x10000000
push edx
jmp 0x42f815
test ecx, ecx
jle 0x42f852
mov edx, dword [ebp + 0x250c]
mov eax, dword [ebp + 0x2508]
push edx
push eax
push 0x10000000
push ecx
mov ecx, dword [esp + 0x58]
push 0xffffffffffffffff
push ecx
call sub.oranls9.dll_lxsCntByte
mov edx, dword [ebp + 0x250c]
mov ecx, dword [esp + 0x60]
mov edi, eax
mov eax, dword [ebp + 0x2508]
push edx
push eax
push 0x10000000
push edi
push ecx
push 0xffffffffffffffff
push ebx
call sub.oranls9.dll_lxsCatStr
mov eax, dword [esp + 0x60]
add esp, 0x34
add edi, ebx
mov byte [edi + esi + 0xb], 0
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add edi, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
add edx, ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x48], edx
jg 0x42f886
test eax, eax
jg 0x42f886
mov dword [esp + 0x18], 0
push ebx
push 0x46a210
push 1
push ebp
call fcn.00406990
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, 1
je 0x42f62d
push ebx
push ebp
call fcn.0040f330
mov edx, dword [esp + 0x24]
push edx
push ebp
call fcn.0040f330
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret