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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100e21d1], 0
push ebx
push esi
push edi
je 0x5e1f7d
cmp byte [0x100e21d2], 0
jne 0x5e1f7d
cmp dword [reloc.MSVCRT.dll_strncpy], 0
je 0x5e1f7d
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xorps xmm0, xmm0
inc dword [reloc.MSVCRT.dll_strncpy]
push 0
push 0
push 0
push 0
push dword [0x100e2268]
mov byte [0x100e21d1], 0
mov byte [0x100e21d2], 1
mov word [ebp - 0x64], 0
mov byte [ebp - 0x61], 1
movlpd qword [ebp - 0xd0], xmm0
mov dword [ebp - 0x68], eax
call eax
xor al, al
mov esi, dword [reloc.MSVCRT.dll_strncpy]
mov byte [ebp - 0x5d], al
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0x78], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0x7c], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0x9c], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0xa0], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0xb0], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0xa4], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0x70], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0x94], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0xa8], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0xb4], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0xb8], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0xac], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0xbc], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 0xc0], eax
mov ebx, esi
mov dword [ebp - 0x80], ebx
nop
cmp dword [esi + 0x2c], 1
jle 0x5e1408
mov eax, dword [esi + 0x20]
mov edi, dword [eax + 0xb0]
or edi, dword [esi + 0xac]
jmp 0x5e140e
mov edi, dword [esi + 0xac]
mov dword [esi + 0xb0], edi
and edi, 6
mov cl, byte [esi + 0xc0]
test cl, cl
je 0x5e147d
test edi, edi
je 0x5e147d
push dword [esi + 0x90]
mov dword [esi + 0xb8], 0
push dword [esi + 0x8c]
mov byte [ebp - 0x5d], 1
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [esi + 0xa0]
call dword [ebp - 0x68]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
push 2
push dword [esi + 0xa0]
push eax
push eax
call dword [ebp - 0x78]
push 0
push 0
push 0
push 0
push dword [esi + 0xa0]
call dword [ebp - 0x68]
mov cl, byte [esi + 0xc0]
test byte [esi + 0xb0], 8
je 0x5e1568
mov dh, byte [esi + 0x3c]
mov byte [ebp - 0x69], cl
test dh, dh
je 0x5e14b0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x5e14ac
cmp byte [ecx + 0xc0], 0
je 0x5e14b0
mov eax, dword [esi + 0x30]
cmp eax, dword [ecx + 0x34]
jne 0x5e14b0
mov al, 1
jmp 0x5e14b2
xor al, al
cmp byte [0x100e21d0], 0
mov dl, al
mov byte [esi + 0xc0], al
mov cl, al
je 0x5e14e5
cmp dword [esi + 0x20], 0
je 0x5e14e5
cmp dword [esi + 0x38], 0
je 0x5e14e5
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x1c], 0
je 0x5e14e5
xor dl, dl
mov byte [esi + 0xc0], 0
xor cl, cl
cmp byte [ebp - 0x69], 0
setne al
cmp dl, al
je 0x5e1568
push 0
xor eax, eax
test dh, dh
push 0
push dword [esi + 0xac]
setne al
push eax
mov eax, dword [esi + 0x44]
push 0x3f3
push esi
call eax
mov cl, byte [esi + 0xc0]
mov al, 1
mov byte [esi + 0xd8], cl
mov byte [ebp - 0x5d], al
test edi, edi
jne 0x5e1568
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [esi + 0xa0]
call dword [ebp - 0x68]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
push 2
push dword [esi + 0xa0]
push eax
push eax
call dword [ebp - 0x78]
push edi
push edi
push edi
push edi
push dword [esi + 0xa0]
call dword [ebp - 0x68]
mov cl, byte [esi + 0xc0]
test byte [esi + 0xac], 1
mov al, cl
je 0x5e1586
cmp dword [esi + 0xb4], 0
jne 0x5e1586
mov dword [esi + 0xb4], 1
test edi, edi
je 0x5e18f8
cmp dword [esi + 0x2c], 1
mov ecx, dword [esi + 0x50]
jle 0x5e176a
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x88], edi
mov edx, dword [edi + 0x74]
add edx, dword [esi + 0x48]
add ecx, edx
mov dword [esi + 0x74], edx
add eax, dword [edi + 0x78]
mov dword [ebp - 0x98], ecx
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x78], eax
add ecx, eax
mov dword [ebp - 0x74], eax
mov eax, edi
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov ebx, dword [eax + 0x98]
add ebx, dword [eax + 0x88]
mov edi, dword [eax + 0x84]
mov ecx, dword [eax + 0x94]
add ecx, edi
mov dword [ebp - 0x88], ebx
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
cmp edx, edi
je 0x5e161b
jge 0x5e160d
cmp dword [ebp - 0x98], edi
jg 0x5e161d
cmp edx, edi
jle 0x5e171d
cmp edx, ecx
jge 0x5e171d
mov edi, edx
lea edx, [esi + 0x84]
mov dword [edx], edi
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x74], edx
mov edx, dword [esi + 0x78]
cmp edx, eax
je 0x5e1657
jge 0x5e1645
cmp dword [ebp - 0x90], eax
jle 0x5e1643
mov edx, eax
jmp 0x5e1657
cmp edx, eax
jle 0x5e16da
cmp edx, dword [ebp - 0x88]
jge 0x5e16da
mov dword [esi + 0x88], edx
sub ecx, edi
mov edx, dword [ebp - 0x98]
mov eax, edx
sub eax, edi
cmp edx, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
mov edx, edi
cmovge eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x88]
sub edx, eax
sub ecx, eax
cmp dword [ebp - 0x90], edi
mov edi, dword [ebp - 0x74]
cmovge ecx, edx
mov dword [esi + 0x98], ecx
mov eax, dword [esi + 0x94]
mov edx, dword [edi]
add eax, edx
mov ecx, dword [esi + 0x88]
sub edx, dword [esi + 0x74]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x98]
add eax, ecx
mov dword [esi + 0x7c], edx
sub ecx, dword [esi + 0x78]
mov dword [esi + 0x90], eax
mov dword [esi + 0x80], ecx
jmp 0x5e184e
mov ecx, dword [esi + 0x88]
mov eax, edi
sub eax, dword [ebp - 0x8c]
mov dword [esi + 0x7c], eax
mov eax, ecx
sub eax, edx
mov dword [esi + 0x8c], edi
mov edi, dword [ebp - 0x74]
mov dword [esi + 0x80], eax
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x90], ecx
jmp 0x5e184e
mov edx, dword [esi + 0x84]
lea edi, [esi + 0x84]
mov ecx, dword [esi + 0x88]
mov eax, edx
sub eax, dword [ebp - 0x8c]
mov dword [esi + 0x7c], eax
mov eax, ecx
sub eax, dword [ebp - 0x74]
mov dword [esi + 0x80], eax
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], ecx
jmp 0x5e184e
mov eax, dword [esi + 0x54]
lea edx, [esi + 0x84]
mov dword [esi + 0x98], eax
mov dword [esi + 0x90], eax
mov dword [ebp - 0x28], eax
imul eax, ecx
push 0x100cafbc
push dword [esi + 0x28]
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x24], 0x200001
shl eax, 2
mov dword [ebp - 0x20], 0
mov dword [esi + 0x94], ecx
mov dword [esi + 0x8c], ecx
mov dword [ebp - 0x2c], ecx
mov dword [esi + 0x78], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x74], 0
mov dword [ebp - 0x74], edx
mov dword [edx], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x7c]
push 0
push 0
push 0
mov ebx, eax
lea eax, [ebp - 0x30]
push 0
push eax
push ebx
call dword [ebp - 0x9c]
mov edi, eax
push edi
push ebx
call dword [ebp - 0xa0]
push 0x100cb160
push dword [esi + 0x28]
call dword [ebp - 0x7c]
push edi
push 0x100cb160
push dword [esi + 0x28]
mov ebx, eax
call dword [ebp - 0xb0]
test ebx, ebx
je 0x5e1845
push ebx
call dword [ebp - 0xa4]
mov edi, dword [ebp - 0x74]
jmp 0x5e184b
lea edi, [esi + 0x84]
mov ebx, dword [ebp - 0x80]
mov eax, dword [esi + 0xac]
test al, 2
je 0x5e1875
push dword [esi + 0x54]
mov eax, dword [esi + 0x44]
push dword [esi + 0x50]
push dword [esi + 0x4c]
push dword [esi + 0x48]
push 0x3ee
push esi
call eax
mov eax, dword [esi + 0xac]
test al, 4
je 0x5e189a
push dword [esi + 0x54]
mov eax, dword [esi + 0x44]
push dword [esi + 0x50]
mov dword [esi + 0xb4], 2
push dword [esi + 0x4c]
push dword [esi + 0x48]
push 0x3ef
push esi
call eax
mov al, byte [esi + 0xc0]
test al, al
je 0x5e18f8
push dword [esi + 0x90]
mov byte [ebp - 0x5d], 1
push dword [esi + 0x8c]
mov byte [esi + 0xd8], 1
push dword [esi + 0x88]
push dword [edi]
mov edi, dword [ebp - 0x68]
push dword [esi + 0xa0]
call edi
mov eax, dword [reloc.MSVCRT.dll_strncpy]
push 2
push dword [esi + 0xa0]
push eax
push eax
call dword [ebp - 0x78]
push 0
push 0
push 0
push 0
push dword [esi + 0xa0]
call edi
mov al, byte [esi + 0xc0]
jmp 0x5e18fb
mov edi, dword [ebp - 0x68]
test al, al
je 0x5e1b3f
mov ecx, dword [esi + 0xb4]
test ecx, ecx
je 0x5e1b3f
mov byte [ebp - 0x5d], 1
mov byte [esi + 0xd8], 1
cmp ecx, 2
jne 0x5e1a5a
mov eax, dword [esi + 0xc8]
lea edi, [esi + 0xc8]
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0xd0]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x54], eax
imul eax, ecx
push 0
push 0
mov dword [esi + 0xd0], 0
mov dword [edi], 0
shl eax, 2
mov dword [ebp - 0x48], eax
lea eax, [esi + 0xcc]
push eax
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x28
push eax
push dword [esi + 0xc4]
mov dword [ebp - 0x50], 0x200001
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], ecx
call dword [ebp - 0x9c]
push eax
push dword [esi + 0xc4]
mov dword [esi + 0xd0], eax
call dword [ebp - 0xa0]
push 0
push dword [esi + 0xc4]
call dword [ebp - 0x70]
push edi
push dword [esi + 0xc4]
call dword [0x100e5734]
push 0
push dword [edi]
call dword [0x100e5758]
push 3
push dword [edi]
call dword [0x100e5708]
push 2
push dword [edi]
call dword [0x100e5704]
push 2
push dword [edi]
call dword [0x100e56bc]
push 0
push dword [edi]
call dword [0x100e5718]
push 3
push dword [edi]
call dword [0x100e5714]
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x5e1a12
push eax
call dword [0x100e5738]
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x5e1a23
push eax
call dword [ebp - 0xa4]
push dword [esi + 0x90]
mov edi, dword [ebp - 0x68]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [esi + 0xa0]
call edi
push dword [esi + 0x54]
push dword [esi + 0x50]
push 0
push 0
push dword [esi + 0xa8]
call edi
jmp 0x5e1ad9
cmp dword [esi + 0x24], reloc.MSVCRT.dll_strncpy
mov eax, dword [esi + 0xc4]
jne 0x5e1aa3
push 0
push eax
call dword [ebp - 0x70]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [esi + 0xa0]
call edi
push dword [esi + 0x54]
push dword [esi + 0x50]
push 0
push 0
push dword [esi + 0xa8]
call edi
jmp 0x5e1ad9
push dword [esi + 0xa8]
push eax
call dword [ebp - 0x70]
push 0
push dword [esi + 0xa8]
push dword [esi + 0xc8]
call dword [0x100e56b8]
push dword [0x100e225c]
push dword [esi + 0xa8]
push dword [esi + 0xc4]
call dword [ebp - 0x94]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
push 2
push dword [esi + 0xa0]
mov dword [esi + 0xb4], 0
push eax
push eax
call dword [ebp - 0x78]
push 0
push 0
push 0
push 0
push dword [esi + 0xa0]
call edi
movzx eax, byte [esi + 0xc1]
push eax
movzx eax, byte [esi + 0xc0]
push eax
push dword [esi + 0xc8]
mov eax, dword [esi + 0x44]
push dword [esi + 0xc4]
push 0x3f0
push esi
call eax
push 0
push 0
push 0
push 0
push dword [esi + 0xa8]
jmp 0x5e1bc8
mov cl, byte [ebp - 0x5d]
test cl, cl
je 0x5e1bcd
test al, al
je 0x5e1bcd
cmp byte [esi + 0xd8], 0
jne 0x5e1bcd
lea edi, [esi + 0x84]
push edi
push dword [0x100e2268]
call dword [ebp - 0xa8]
test eax, eax
setne cl
mov byte [esi + 0xd8], cl
test eax, eax
je 0x5e1bca
cmp dword [esi + 0x24], reloc.MSVCRT.dll_strncpy
jne 0x5e1bca
push dword [esi + 0x90]
mov byte [esi + 0xd8], 1
push dword [esi + 0x8c]
push dword [esi + 0x88]
push dword [edi]
mov edi, dword [ebp - 0x68]
push dword [esi + 0xa0]
call edi
mov eax, dword [reloc.MSVCRT.dll_strncpy]
push 2
push dword [esi + 0xa0]
push eax
push eax
call dword [ebp - 0x78]
push 0
push 0
push 0
push 0
push dword [esi + 0xa0]
call edi
mov cl, byte [ebp - 0x5d]
mov dword [esi + 0xac], 0
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x5e1be8
cmp dword [esi + 0x2c], 1
jg 0x5e13f7
test cl, cl
je 0x5e1f57
test ebx, ebx
je 0x5e1f57
mov esi, dword [ebp - 0x7c]
push 0x100cafbc
push dword [ebx + 0x28]
call esi
push 0x100cb178
push dword [ebx + 0x28]
mov edi, eax
call esi
push dword [0x100e2268]
mov esi, eax
push edi
mov dword [ebp - 0x84], esi
call dword [ebp - 0x70]
push dword [0x100e225c]
push dword [0x100e2268]
push edi
call dword [ebp - 0x94]
cmp byte [ebx + 0xc0], 0
je 0x5e1ce8
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x5e1ce8
cmp dword [ebx + 0x24], 0
jle 0x5e1cd5
cmp dword [ebx + 0x64], 0
je 0x5e1ce8
push 0
push eax
push dword [ebx + 0xc4]
mov eax, dword [ebx + 0x44]
push edi
push 0x3f1
push ebx
call eax
test eax, eax
jne 0x5e1ce8
mov eax, dword [ebx + 0x64]
cmp eax, 0x100
jge 0x5e1cb3
cmp esi, 0x100
jge 0x5e1cb3
mov byte [ebp - 0x62], al
push dword [ebp - 0x64]
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
push eax
push ecx
push 0
push 0
push dword [ebx + 0xc4]
push eax
push ecx
push 0
push 0
push edi
call dword [0x100e571c]
jmp 0x5e1ce8
push 0xcc0020
push 0
push 0
push dword [ebx + 0xc4]
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push 0
push 0
push edi
call dword [ebp - 0xb4]
jmp 0x5e1ce8
push dword [0x100e21e8]
push dword [0x100e2268]
push edi
call dword [ebp - 0x94]
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x5e1eb9
cmp dword [esi + 0x2c], 1
jle 0x5e1eb6
cmp byte [esi + 0xc0], 0
je 0x5e1eab
mov eax, dword [esi + 0x64]
test eax, eax
je 0x5e1eab
cmp dword [esi + 0x94], 0
jle 0x5e1eab
cmp dword [esi + 0xd0], 0
je 0x5e1eab
cmp byte [0x100e21d3], 0
je 0x5e1d4f
push dword [0x100e21e8]
lea eax, [esi + 0x84]
push eax
push edi
call dword [ebp - 0xb8]
mov eax, dword [esi + 0x64]
cmp byte [esi + 0xd8], 0
je 0x5e1e19
cmp dword [esi + 0x64], 0
je 0x5e1e0d
mov eax, dword [esi + 0x44]
push 0
push dword [esi + 0xd0]
push dword [esi + 0xc4]
push edi
push 0x3f1
push esi
call eax
test eax, eax
jne 0x5e1e0d
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x5e1dd6
mov byte [ebp - 0x62], al
push dword [ebp - 0x64]
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x94]
push eax
push ecx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [esi + 0xc4]
push eax
push ecx
push dword [esi + 0x88]
push dword [esi + 0x84]
push edi
call dword [0x100e571c]
mov byte [esi + 0xd8], 0
jmp 0x5e1eab
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x94]
push 0xcc0020
push eax
push ecx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [esi + 0xc4]
push eax
push ecx
push dword [esi + 0x88]
push dword [esi + 0x84]
push edi
call dword [ebp - 0xac]
mov byte [esi + 0xd8], 0
jmp 0x5e1eab
test eax, eax
je 0x5e1eab
lea ebx, [esi + 0x84]
push ebx
push dword [0x100e2268]
call dword [ebp - 0xa8]
test eax, eax
je 0x5e1eab
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x5e1e78
mov byte [ebp - 0x62], al
push dword [ebp - 0x64]
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x94]
push eax
push ecx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [esi + 0xc4]
push eax
push ecx
push dword [esi + 0x88]
push dword [ebx]
push edi
call dword [0x100e571c]
jmp 0x5e1eab
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x94]
push 0xcc0020
push eax
push ecx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [esi + 0xc4]
push eax
push ecx
push dword [esi + 0x88]
push dword [ebx]
push edi
call dword [ebp - 0xac]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x5e1cf3
mov ebx, dword [ebp - 0x80]
push 0
push edi
call dword [ebp - 0x70]
push 0
push dword [0x100e226c]
call dword [ebp - 0x70]
push 0x100cb188
push dword [ebx + 0x28]
call dword [ebp - 0x7c]
mov ecx, dword [ebx + 0x28]
test eax, eax
jne 0x5e1f49
push 0x100cb1a8
push ecx
call dword [ebp - 0x7c]
test eax, eax
jne 0x5e1f57
mov eax, dword [ebp - 0x84]
cmp eax, 0xff
jle 0x5e1f0e
push 0x83
push dword [0x100e2268]
push 0
push dword [ebx + 0x28]
call dword [ebp - 0xbc]
jmp 0x5e1f57
mov byte [ebp - 0x62], al
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebx + 0x54]
push 2
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x64]
push eax
push 0
lea eax, [ebp - 0xd0]
push eax
push edi
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push dword [ebx + 0x28]
call dword [ebp - 0xc0]
jmp 0x5e1f57
push 1
push 0x100cb1d0
push ecx
call dword [ebp - 0xb0]
test esi, esi
je 0x5e1f76
push 0
push 0
push 0
push 0
push dword [0x100e2268]
call dword [ebp - 0x68]
xor al, al
mov byte [ebp - 0x5d], al
jmp 0x5e13eb
mov byte [0x100e21d2], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00667949
mov esp, ebp
pop ebp
ret