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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov eax, dword [ebp + reloc.MSVCRT.dll_strncpy]
cmp eax, edx
je 0xb878df
lea eax, [edx + edx*2]
mov esi, dword [esp + 0x88]
shl eax, 4
pop edi
lea ecx, reloc.MSVCRT.dll_strncpy
mov eax, dword [eax + ebp + reloc.MSVCRT.dll_strncpy]
sub eax, edx
mov edx, dword [ecx + 0x1c]
mov dword [esi], edx
mov ecx, dword [ecx + 0x18]
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc
mov eax, dword [ebp + reloc.MSVCRT.dll_strncpy]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ebx
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ebx
jne 0xb87908
lea edx, [esp + 0x30]
push edx
push ebp
call fcn.00b877df
mov dword [esp + 0x20], eax
jmp 0xb8791c
mov eax, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
mov eax, dword [ebp + reloc.MSVCRT.dll_strncpy]
cmp eax, 2
mov dword [esp + 0x18], eax
jae 0xb87947
mov edx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword [edx], reloc.MSVCRT.dll_strncpy
mov eax, 1
pop ebx
add esp, 0x6c
ret 0xc
cmp eax, 0x111
jbe 0xb87956
mov dword [esp + 0x18], reloc.MSVCRT.dll_strncpy
mov eax, dword [ebp + 0x18]
push eax
call dword [ebp + 0xc]
lea ecx, reloc.MSVCRT.dll_strncpy
dec eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2c]
mov ecx, eax
lea edi, [ebx*4]
mov edx, dword [edx]
sub ecx, edx
mov dword [esp + edi + 0x5c], edx
mov dl, byte [eax]
dec ecx
cmp dl, byte [ecx]
jne 0xb879dd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xb879dd
mov edx, dword [esp + 0x18]
mov esi, 2
cmp edx, esi
jbe 0xb879c5
lea edx, [eax + 2]
sub ecx, eax
mov bl, byte [edx]
cmp bl, byte [ecx + edx]
jne 0xb879be
mov ebx, dword [esp + 0x18]
inc esi
inc edx
cmp esi, ebx
jb 0xb879ad
mov ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov dword [esp + edi + 0x6c], esi
cmp esi, dword [esp + ecx + 0x6c]
jbe 0xb879e5
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], edi
jmp 0xb879e5
mov dword [esp + edi + 0x6c], 0
mov edx, dword [esp + 0x2c]
inc ebx
add edx, 4
cmp ebx, 4
mov dword [esp + 0x80], ebx
mov dword [esp + 0x2c], edx
jb 0xb87977
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov esi, dword [esp + edx*4 + 0x6c]
cmp esi, ecx
mov dword [esp + 0x4c], esi
jb 0xb87a38
mov eax, dword [esp + 0x88]
mov ecx, edx
lea edx, [esi - 1]
push edx
push ebp
mov dword [eax], ecx
call fcn.00b88c2f
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc
mov edi, dword [esp + 0x20]
lea edx, reloc.MSVCRT.dll_strncpy
cmp edi, ecx
jb 0xb87a72
mov eax, dword [esp + 0x30]
mov esi, edi
mov ecx, dword [edx + eax*4 - 4]
mov edx, dword [esp + 0x88]
lea eax, [esi - 1]
add ecx, 4
push eax
push ebp
mov dword [edx], ecx
call fcn.00b88c2f
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc
mov ebx, dword [esp + 0x5c]
mov cl, byte [eax]
mov edx, eax
mov byte [esp + 0x80], cl
sub edx, ebx
cmp edi, 2
mov dl, byte [edx - 1]
mov byte [esp + 0x3c], dl
jae 0xb87ab4
cmp cl, dl
je 0xb87ab4
cmp esi, 2
jae 0xb87ab4
mov eax, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword [eax], reloc.MSVCRT.dll_strncpy
mov eax, 1
pop ebx
add esp, 0x6c
ret 0xc
mov esi, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov edi, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [esp + 0x84]
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
xor ebx, ebx
mov dword [ebp + reloc.MSVCRT.dll_strncpy], esi
mov bl, byte [eax - 1]
and edi, ecx
mov cl, 8
mov eax, ebx
mov ebx, dword [ebp + reloc.MSVCRT.dll_strncpy]
sub cl, dl
shr eax, cl
mov ecx, dword [esp + 0x84]
and ebx, ecx
mov ecx, edx
shl ebx, cl
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
lea ecx, reloc.MSVCRT.dll_strncpy
push ecx
add eax, ebx
lea eax, [eax + eax*2]
shl eax, 9
add eax, edx
cmp esi, 7
jb 0xb87b32
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
and ecx, 0xff
and edx, 0xff
push ecx
push edx
push eax
call fcn.00b88bbf
jmp 0xb87b46
mov ecx, dword [esp + 0x84]
and ecx, 0xff
push ecx
push eax
call fcn.00b88b6f
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
xor esi, esi
mov edx, ecx
xor ebx, ebx
shl edx, 4
add edx, edi
mov si, word [ebp + edx*2 + 0x325b0]
lea edx, reloc.MSVCRT.dll_strncpy
shr esi, 4
mov esi, dword [ebp + esi*4 + reloc.MSVCRT.dll_strncpy]
mov dword [ebp + reloc.MSVCRT.dll_strncpy], reloc.MSVCRT.dll_strncpy
add esi, eax
xor eax, eax
mov dword [ebp + reloc.MSVCRT.dll_strncpy], esi
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ebx
mov ax, word [edx]
xor edx, edx
mov dx, word [ebp + ecx*2 + 0x32730]
xor eax, 0x7f0
xor edx, 0x7f0
shr eax, 4
shr edx, 4
mov eax, dword [ebp + eax*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp + edx*4 + reloc.MSVCRT.dll_strncpy]
mov dl, byte [esp + 0x3c]
mov dword [esp + 0x44], eax
add esi, eax
mov al, byte [esp + 0x80]
mov dword [esp + 0x48], esi
cmp dl, al
jne 0xb87bf5
push edi
push ecx
push ebp
call fcn.00b88c5f
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
add eax, esi
cmp eax, ecx
jae 0xb87bf5
mov dword [ebp + reloc.MSVCRT.dll_strncpy], eax
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ebx
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jb 0xb87c03
mov eax, ecx
cmp eax, 2
mov dword [esp + 0x10], eax
jae 0xb87c2a
mov edx, dword [esp + 0x88]
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov eax, 1
pop ebx
add esp, 0x6c
ret 0xc
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ebx
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ecx
mov ecx, dword [esp + 0x64]
mov dword [ebp + reloc.MSVCRT.dll_strncpy], edx
mov edx, dword [esp + 0x68]
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ecx
lea ecx, [eax + eax*2]
mov dword [ebp + reloc.MSVCRT.dll_strncpy], edx
shl ecx, 4
lea ecx, reloc.MSVCRT.dll_strncpy
mov dword [ecx], reloc.MSVCRT.dll_strncpy
dec eax
sub ecx, 0x30
cmp eax, 2
jae 0xb87c65
lea edx, [esp + 0x6c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
cmp esi, 2
jb 0xb87cfb
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov edx, dword [esp + 0x80]
push edi
push ecx
push edx
push ebp
call fcn.00b88caf
mov ebx, eax
lea ecx, [esi + esi*2]
mov eax, dword [esp + 0x48]
add ebx, eax
mov eax, edi
shl eax, 4
add eax, edi
shl eax, 4
add eax, esi
shl ecx, 4
lea eax, reloc.MSVCRT.dll_strncpy
lea ecx, reloc.MSVCRT.dll_strncpy
mov edx, dword [eax]
add edx, ebx
cmp edx, dword [ecx - 0x1c]
jae 0xb87cef
mov dword [ecx - 0x1c], edx
mov edx, dword [esp + 0x80]
mov dword [ecx - 4], 0
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
dec esi
sub eax, 4
sub ecx, 0x30
cmp esi, 2
jae 0xb87ccc
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
inc eax
add edx, 4
cmp eax, 4
mov dword [esp + 0x80], eax
mov dword [esp + 0x2c], edx
jb 0xb87c83
mov eax, dword [ebp + reloc.MSVCRT.dll_strncpy]
xor ecx, ecx
mov cx, word [ebp + eax*2 + 0x32730]
shr ecx, 4
mov eax, dword [ebp + ecx*4 + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x6c]
cmp ecx, 2
inc ecx
mov dword [esp + 0x4c], eax
jae 0xb87d51
mov ecx, 2
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
ja 0xb87e91
mov esi, dword [ebp + reloc.MSVCRT.dll_strncpy]
lea eax, reloc.MSVCRT.dll_strncpy
xor edx, edx
cmp ecx, esi
mov dword [esp + 0x80], edx
jbe 0xb87d8e
mov esi, dword [eax + 8]
add eax, 8
add edx, 2
cmp ecx, esi
ja 0xb87d7a
mov dword [esp + 0x80], edx
lea eax, reloc.MSVCRT.dll_strncpy
lea ebx, [eax + edx*4]
mov edx, edi
shl edx, 4
add edx, edi
mov dword [esp + 0x3c], ebx
shl edx, 4
add edx, ecx
lea eax, reloc.MSVCRT.dll_strncpy
lea edx, [ecx + ecx*2]
shl edx, 4
mov dword [esp + 0x28], eax
lea edx, reloc.MSVCRT.dll_strncpy
mov eax, dword [esp + 0x28]
mov edi, dword [ebx + 4]
mov dword [esp + 0x38], edx
mov esi, dword [eax]
mov eax, dword [esp + 0x4c]
add esi, eax
cmp ecx, 5
lea eax, [ecx - 2]
jb 0xb87ddf
mov eax, 3
cmp edi, 0x80
jae 0xb87df5
shl eax, 7
add eax, edi
add esi, dword [ebp + eax*4 + reloc.MSVCRT.dll_strncpy]
jmp 0xb87e40
mov ecx, 0x1ffff
mov edx, edi
sub ecx, edi
xor ebx, ebx
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr edx, cl
shl eax, 5
add eax, ecx
mov ecx, edi
and ecx, 0xf
mov bl, byte [edx + ebp + 0x306a0]
lea eax, reloc.MSVCRT.dll_strncpy
mov ebx, dword [ebp + ecx*4 + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + eax*4]
add edx, ebx
mov ebx, dword [esp + 0x3c]
add esi, edx
mov edx, dword [esp + 0x38]
cmp esi, dword [edx - 0x1c]
jae 0xb87e55
xor eax, eax
add edi, 4
mov dword [edx - 0x1c], esi
mov dword [edx - 4], eax
mov dword [edx], edi
mov dword [edx - 0x14], eax
cmp ecx, dword [ebx]
jne 0xb87e79
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x30]
add eax, 2
add ebx, 8
cmp eax, esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], ebx
je 0xb87e91
mov esi, dword [esp + 0x28]
inc ecx
add esi, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], esi
add edx, 0x30
jmp 0xb87dbf
mov eax, dword [esp + 0x10]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x80], esi
je 0xb88b52
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.00b877df
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
cmp eax, ecx
mov dword [esp + 0x54], eax
jae 0xb88b42
mov edi, dword [esp + 0x84]
lea ecx, [esi + esi*2]
shl ecx, 4
inc edi
mov edx, dword [ecx + ebp + reloc.MSVCRT.dll_strncpy]
mov eax, dword [ecx + ebp + reloc.MSVCRT.dll_strncpy]
lea ebx, [ecx + ebp]
mov dword [esp + 0x84], edi
test edx, edx
je 0xb87f4f
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
dec eax
test ecx, ecx
je 0xb87f39
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov edi, dword [ebx + reloc.MSVCRT.dll_strncpy]
lea ecx, [ecx + ecx*2]
shl ecx, 4
cmp edi, 4
mov ecx, dword [ecx + ebp + reloc.MSVCRT.dll_strncpy]
jae 0xb87f29
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
jmp 0xb87f5c
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
jmp 0xb87f5c
lea ecx, [eax + eax*2]
shl ecx, 4
mov ecx, dword [ecx + ebp + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
jmp 0xb87f5c
lea ecx, [eax + eax*2]
shl ecx, 4
mov ecx, dword [ecx + ebp + reloc.MSVCRT.dll_strncpy]
dec esi
cmp eax, esi
jne 0xb87f8b
mov eax, dword [ebx + reloc.MSVCRT.dll_strncpy]
test eax, eax
jne 0xb87f7b
mov edx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x14], edx
jmp 0xb8803c
mov eax, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x14], eax
jmp 0xb8803c
test edx, edx
je 0xb87fae
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
test edx, edx
je 0xb87fae
mov eax, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
jmp 0xb87fc9
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
cmp edx, 4
jae 0xb87fc2
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
jmp 0xb87fc9
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
lea eax, [eax + eax*2]
mov dword [esp + 0x14], ecx
shl eax, 4
cmp edx, 4
lea ecx, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x4c], ecx
jae 0xb8801e
mov eax, dword [ecx + edx*4 + 0x20]
mov dword [esp + 0x5c], eax
mov eax, 1
cmp edx, eax
jb 0xb8800b
lea esi, [ecx + 0x20]
lea eax, [edx + 1]
mov ecx, edx
lea edi, [esp + 0x60]
cmp eax, 4
rep movsd dword es:[edi], dword [esi]
jae 0xb8803c
mov ecx, dword [esp + 0x4c]
lea esi, [ecx + eax*4 + 0x20]
mov ecx, 4
lea edi, [esp + eax*4 + 0x5c]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
jmp 0xb8803c
add edx, 0xfffffffc
lea eax, [ecx + 0x20]
mov dword [esp + 0x5c], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [ebx + reloc.MSVCRT.dll_strncpy], ecx
mov ecx, dword [esp + 0x68]
mov dword [ebx + reloc.MSVCRT.dll_strncpy], edi
mov dword [ebx + reloc.MSVCRT.dll_strncpy], edx
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov dword [ebx + reloc.MSVCRT.dll_strncpy], eax
mov dword [ebx + reloc.MSVCRT.dll_strncpy], ecx
mov eax, dword [ebp + 0x18]
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], 0
call dword [ebp + 0xc]
mov esi, eax
dec esi
mov edx, esi
mov dword [esp + 0x24], esi
mov cl, byte [esi]
sub edx, edi
mov edi, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x84]
lea eax, [edx - 1]
and edi, ecx
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x44], eax
mov al, byte [eax]
add ecx, edi
mov byte [esp + 0x34], al
xor edx, edx
mov dword [esp + 0x3c], edi
mov dx, word [ebp + ecx*2 + 0x325b0]
lea eax, reloc.MSVCRT.dll_strncpy
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
shr edx, 4
mov eax, dword [ebp + edx*4 + reloc.MSVCRT.dll_strncpy]
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
add eax, ecx
mov cl, 8
mov dword [esp + 0x38], eax
xor eax, eax
mov al, byte [esi - 1]
sub cl, dl
shr eax, cl
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
and ecx, dword [esp + 0x84]
mov dword [esp + 0x4c], ecx
mov ecx, edx
mov edx, dword [esp + 0x4c]
shl edx, cl
mov ecx, dword [esp + 0x14]
add eax, edx
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
lea eax, [eax + eax*2]
shl eax, 9
add eax, edx
cmp ecx, 7
lea ecx, reloc.MSVCRT.dll_strncpy
push ecx
jb 0xb88152
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
and ecx, 0xff
and edx, 0xff
push ecx
push edx
push eax
call fcn.00b88bbf
jmp 0xb88163
mov ecx, dword [esp + 0x2c]
and ecx, 0xff
push ecx
push eax
call fcn.00b88b6f
mov ecx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [ebx + reloc.MSVCRT.dll_strncpy]
cmp ecx, eax
mov dword [esp + 0x38], ecx
jae 0xb881a6
mov edx, dword [esp + 0x80]
mov dword [ebx + reloc.MSVCRT.dll_strncpy], ecx
mov dword [ebx + reloc.MSVCRT.dll_strncpy], edx
mov dword [ebx + reloc.MSVCRT.dll_strncpy], 0xffffffff
mov dword [ebx + reloc.MSVCRT.dll_strncpy], 0
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x48]
xor eax, eax
mov edx, dword [esp + 0x2c]
mov ax, word [ecx]
mov ecx, dword [esp + 0x14]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + reloc.MSVCRT.dll_strncpy]
add eax, edx
xor edx, edx
mov dx, word [ebp + ecx*2 + 0x32730]
mov dword [esp + 0x58], eax
xor edx, 0x7f0
shr edx, 4
mov ecx, dword [ebp + edx*4 + reloc.MSVCRT.dll_strncpy]
mov dl, byte [esp + 0x34]
add ecx, eax
mov al, byte [esp + 0x28]
cmp dl, al
mov dword [esp + 0x40], ecx
jne 0xb88256
mov eax, dword [esp + 0x80]
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
cmp ecx, eax
jae 0xb88213
mov eax, dword [ebx + reloc.MSVCRT.dll_strncpy]
test eax, eax
je 0xb88256
mov ecx, dword [esp + 0x14]
push edi
push ecx
push ebp
call fcn.00b88c5f
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
add eax, dword [esp + 0x40]
cmp eax, ecx
ja 0xb88256
mov edx, dword [esp + 0x80]
mov dword [ebx + reloc.MSVCRT.dll_strncpy], eax
xor eax, eax
mov dword [ebx + reloc.MSVCRT.dll_strncpy], edx
mov dword [ebx + reloc.MSVCRT.dll_strncpy], eax
mov dword [ebx + reloc.MSVCRT.dll_strncpy], eax
mov dword [esp + 0x1c], 1
mov edi, dword [esp + 0x80]
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov eax, 0xfff
mov dword [esp + 0x2c], ecx
sub eax, edi
cmp eax, ecx
jae 0xb88278
mov ecx, eax
mov dword [esp + 0x2c], ecx
cmp ecx, 2
jb 0xb88b23
mov edi, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x18], ecx
cmp ecx, edi
jbe 0xb88293
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0xb883ce
mov al, byte [esp + 0x28]
mov dl, byte [esp + 0x34]
cmp dl, al
je 0xb883ce
inc edi
cmp edi, ecx
jbe 0xb882b6
mov edi, ecx
mov ecx, 1
cmp edi, ecx
jbe 0xb882d5
mov edx, dword [esp + 0x44]
lea eax, [esi + 1]
sub edx, esi
mov bl, byte [eax]
cmp bl, byte [edx + eax]
jne 0xb882d5
inc ecx
inc eax
cmp ecx, edi
jb 0xb882c8
lea edx, [ecx - 1]
cmp edx, 2
mov dword [esp + 0x44], edx
jb 0xb883ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x84]
mov edi, dword [ebp + reloc.MSVCRT.dll_strncpy]
inc eax
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
and eax, edi
mov edi, ecx
xor ebx, ebx
shl edi, 4
add edi, eax
mov dword [esp + 0x48], ecx
mov bx, word [ebp + edi*2 + 0x325b0]
xor edi, edi
mov di, word [ebp + ecx*2 + 0x32730]
xor ebx, 0x7f0
shr ebx, 4
xor edi, 0x7f0
mov ebx, dword [ebp + ebx*4 + reloc.MSVCRT.dll_strncpy]
shr edi, 4
add ebx, dword [ebp + edi*4 + reloc.MSVCRT.dll_strncpy]
mov edi, dword [esp + 0x38]
add ebx, edi
mov edi, dword [esp + 0x80]
lea edi, [edx + edi + 1]
cmp dword [esp + 0x10], edi
jae 0xb8838d
mov edx, dword [esp + 0x10]
lea ecx, [edx + edx*2]
shl ecx, 4
lea ecx, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x4c], ecx
mov ecx, edi
sub ecx, edx
add edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
add edx, 0x30
dec ecx
mov dword [edx], reloc.MSVCRT.dll_strncpy
jne 0xb88379
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push 0
push ebp
call fcn.00b88d8f
lea edx, [edi + edi*2]
add eax, ebx
shl edx, 4
lea ecx, reloc.MSVCRT.dll_strncpy
mov edx, dword [edx + ebp + reloc.MSVCRT.dll_strncpy]
cmp eax, edx
jae 0xb883ce
mov dword [ecx], eax
mov eax, dword [esp + 0x80]
inc eax
mov dword [ecx + 8], 1
mov dword [ecx + 0x18], eax
xor eax, eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0xc], eax
mov dword [esp + 0x48], 2
mov dword [esp + 0x1c], 0
jmp 0xb883e4
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov edx, dword [esp + 0x10]
mov edi, dword [esp + ecx*4 + 0x5c]
mov cl, byte [esi]
sub eax, edi
dec eax
mov dword [esp + 0x44], eax
cmp cl, byte [eax]
jne 0xb886f6
mov cl, byte [esi + 1]
mov bl, byte [eax + 1]
cmp cl, bl
jne 0xb886f6
mov ecx, dword [esp + 0x18]
mov ebx, 2
cmp ecx, ebx
jbe 0xb88436
mov edi, eax
lea ecx, [esi + 2]
sub edi, esi
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0xb88436
mov eax, dword [esp + 0x18]
inc ebx
inc ecx
cmp ebx, eax
jb 0xb88425
mov ecx, dword [esp + 0x80]
lea edi, [ebx + ecx]
cmp edx, edi
jae 0xb88467
lea eax, [edx + edx*2]
shl eax, 4
lea ecx, reloc.MSVCRT.dll_strncpy
mov eax, edi
sub eax, edx
add edx, eax
mov dword [esp + 0x10], edx
add ecx, 0x30
dec eax
mov dword [ecx], reloc.MSVCRT.dll_strncpy
jne 0xb8845b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push ebp
mov esi, ebx
call fcn.00b88caf
mov edx, eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add edx, eax
mov eax, ecx
shl eax, 4
add eax, ecx
mov dword [esp + 0x50], edx
shl eax, 4
mov dword [esp + 0x4c], eax
add eax, ebx
mov dword [esp + 0x38], eax
lea ecx, reloc.MSVCRT.dll_strncpy
lea eax, [edi + edi*2]
shl eax, 4
mov dword [esp + 0x38], ecx
mov edi, ecx
lea eax, reloc.MSVCRT.dll_strncpy
mov ecx, edx
add ecx, dword [edi]
cmp ecx, dword [eax - 0x1c]
jae 0xb884df
mov dword [eax - 0x1c], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax - 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax - 0x14], 0
dec ebx
sub edi, 4
sub eax, 0x30
cmp ebx, 2
jae 0xb884bc
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
test eax, eax
jne 0xb884fe
lea edx, [esi + 1]
mov dword [esp + 0x48], edx
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 1]
add ecx, eax
cmp ecx, edx
jbe 0xb88513
mov ecx, edx
cmp eax, ecx
jae 0xb88531
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
sub edx, ebx
lea edi, [eax + ebx]
mov bl, byte [edi]
cmp bl, byte [edx + edi]
jne 0xb88531
inc eax
inc edi
cmp eax, ecx
jb 0xb88524
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, esi
add eax, ecx
cmp eax, 2
mov dword [esp + 0x38], eax
jb 0xb886f6
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x14]
xor ecx, ecx
lea edi, [esi + eax]
lea eax, reloc.MSVCRT.dll_strncpy
push eax
mov eax, dword [esp + 0x48]
mov ebx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov cl, byte [esi + eax]
mov eax, dword [esp + 0x28]
push ecx
xor ecx, ecx
mov cl, byte [esi + eax]
and edi, edx
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
push ecx
xor ecx, ecx
mov cl, byte [eax + esi - 1]
mov eax, ecx
mov cl, 8
sub cl, dl
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
shr eax, cl
mov ecx, dword [esp + 0x90]
add ecx, esi
and edx, ecx
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
shl edx, cl
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
add eax, edx
lea edx, [eax + eax*2]
shl edx, 9
add edx, ecx
push edx
call fcn.00b88bbf
mov ecx, ebx
xor edx, edx
shl ecx, 4
add ecx, edi
mov dx, word [ebp + ecx*2 + 0x325b0]
mov ecx, dword [esp + 0x4c]
shr edx, 4
add ecx, esi
mov edi, dword [ebp + edx*4 + reloc.MSVCRT.dll_strncpy]
mov edx, dword [ebp + ecx*4 + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [esp + 0x50]
add eax, edi
mov edi, dword [ebp + reloc.MSVCRT.dll_strncpy]
add eax, edx
mov edx, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
add eax, ecx
mov ecx, dword [esp + 0x84]
xor ebx, ebx
lea ecx, [esi + ecx + 1]
and ecx, edi
mov edi, edx
shl edi, 4
add edi, ecx
mov bx, word [ebp + edi*2 + 0x325b0]
xor edi, edi
mov di, word [ebp + edx*2 + 0x32730]
xor ebx, 0x7f0
shr ebx, 4
mov dword [esp + 0x50], ebx
mov ebx, edi
mov edi, dword [esp + 0x50]
xor ebx, 0x7f0
shr ebx, 4
mov edi, dword [ebp + edi*4 + reloc.MSVCRT.dll_strncpy]
add edi, dword [ebp + ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [esp + 0x80]
add edi, eax
mov eax, dword [esp + 0x38]
add eax, esi
lea ebx, [eax + ebx + 1]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x4c], ebx
jae 0xb886a1
lea eax, [eax + eax*2]
shl eax, 4
lea eax, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
sub ebx, eax
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
add eax, 0x30
dec ebx
mov dword [eax], reloc.MSVCRT.dll_strncpy
jne 0xb88691
mov ebx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push ecx
push 0
push ebp
call fcn.00b88d8f
lea edx, [ebx + ebx*2]
add eax, edi
shl edx, 4
lea ecx, reloc.MSVCRT.dll_strncpy
mov edx, dword [edx + ebp + reloc.MSVCRT.dll_strncpy]
cmp eax, edx
jae 0xb886f6
mov dword [ecx], eax
mov eax, dword [esp + 0x80]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x1c], 0
lea edx, [esi + eax + 1]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x18], edx
mov edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 4
mov dword [esp + 0x1c], eax
jb 0xb883e0
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
cmp edi, ecx
jbe 0xb88740
xor eax, eax
lea edx, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x20], eax
mov edi, ecx
cmp ecx, dword [edx]
jbe 0xb88732
add eax, 2
mov dword [esp + 0x20], eax
cmp ecx, dword [edx + eax*4]
ja 0xb88726
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x48]
cmp edi, esi
jb 0xb88b23
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
xor ecx, ecx
mov cx, word [ebp + edx*2 + 0x32730]
shr ecx, 4
mov eax, dword [ebp + ecx*4 + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
add eax, edi
cmp ecx, eax
jae 0xb887a0
lea edx, [ecx + ecx*2]
sub eax, ecx
shl edx, 4
add ecx, eax
lea edx, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x10], ecx
add edx, 0x30
dec eax
mov dword [edx], reloc.MSVCRT.dll_strncpy
jne 0xb88794
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
lea ecx, reloc.MSVCRT.dll_strncpy
xor eax, eax
cmp esi, edx
mov dword [esp + 0x1c], eax
jbe 0xb887c7
mov edx, dword [ecx + 8]
add ecx, 8
add eax, 2
cmp esi, edx
ja 0xb887b6
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + eax*4 + reloc.MSVCRT.dll_strncpy]
lea edx, reloc.MSVCRT.dll_strncpy
mov ecx, 0x1ffff
mov edi, eax
sub ecx, eax
xor ebx, ebx
shr ecx, 0x1f
neg ecx
and ecx, 0xa
mov dword [esp + 0x40], eax
add ecx, 6
shr edi, cl
mov bl, byte [edi + ebp + 0x306a0]
lea edi, [esi + 1]
lea ecx, [ebx + ecx*2]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [edx + ecx*4]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov edx, ecx
shl edx, 4
add edx, ecx
shl edx, 4
add edx, esi
lea ecx, reloc.MSVCRT.dll_strncpy
mov edx, dword [esp + 0x80]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + edx]
lea ecx, [ecx + ecx*2]
shl ecx, 4
lea edx, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov esi, dword [ecx]
add edx, esi
lea esi, [edi - 1]
cmp esi, 5
lea ecx, [esi - 2]
jb 0xb8885e
mov ecx, 3
cmp eax, 0x80
jae 0xb88873
shl ecx, 7
add ecx, eax
add edx, dword [ebp + ecx*4 + reloc.MSVCRT.dll_strncpy]
jmp 0xb88891
mov ebx, dword [esp + 0x4c]
shl ecx, 6
add ecx, ebx
mov ebx, eax
and ebx, 0xf
mov ecx, dword [ebp + ecx*4 + reloc.MSVCRT.dll_strncpy]
add ecx, dword [ebp + ebx*4 + reloc.MSVCRT.dll_strncpy]
add edx, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], edx
cmp edx, dword [ecx - 0x1c]
jae 0xb888b7
mov dword [ecx - 0x1c], edx
mov edx, dword [esp + 0x80]
mov dword [ecx - 4], edx
lea edx, [eax + 4]
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx]
jne 0xb88b07
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, ebx
mov esi, edi
sub ecx, eax
mov eax, dword [ebp + reloc.MSVCRT.dll_strncpy]
add eax, edi
dec ecx
cmp eax, edx
jbe 0xb888e0
mov eax, edx
cmp edi, eax
jae 0xb88900
sub ebx, ecx
lea edx, [ecx + edi]
mov dword [esp + 0x54], ebx
jmp 0xb888f3
mov ebx, dword [esp + 0x54]
mov bl, byte [ebx + edx]
cmp bl, byte [edx]
jne 0xb88900
inc esi
inc edx
cmp esi, eax
jb 0xb888ef
or edx, reloc.MSVCRT.dll_strncpy
lea eax, [edi - 1]
sub edx, eax
add esi, edx
cmp esi, 2
mov dword [esp + 0x44], esi
jb 0xb88ab3
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
mov ebx, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
lea eax, reloc.MSVCRT.dll_strncpy
push eax
xor eax, eax
mov al, byte [ecx + edi - 1]
xor ecx, ecx
push eax
mov eax, dword [esp + 0x2c]
lea esi, [edx + edi - 1]
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov cl, byte [eax + edi - 1]
mov dword [esp + 0x5c], esi
push ecx
xor ecx, ecx
mov cl, byte [eax + edi - 2]
and esi, edx
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
mov eax, ecx
mov cl, 8
sub cl, dl
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
shr eax, cl
mov ecx, dword [esp + 0x60]
and edx, ecx
mov ecx, dword [ebp + reloc.MSVCRT.dll_strncpy]
shl edx, cl
add eax, edx
mov edx, dword [ebp + reloc.MSVCRT.dll_strncpy]
lea eax, [eax + eax*2]
shl eax, 9
add eax, edx
push eax
call fcn.00b88bbf
mov ecx, ebx
xor edx, edx
shl ecx, 4
add ecx, esi
mov dx, word [ebp + ecx*2 + 0x325b0]
shr edx, 4
mov ecx, dword [ebp + edx*4 + reloc.MSVCRT.dll_strncpy]
mov edx, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
add eax, ecx
mov ecx, dword [esp + 0x48]
add eax, ecx
lea ecx, [esi + 1]
mov esi, dword [ebp + reloc.MSVCRT.dll_strncpy]
xor ebx, ebx
and ecx, esi
mov esi, edx
shl esi, 4
add esi, ecx
mov bx, word [ebp + esi*2 + 0x325b0]
xor esi, esi
mov si, word [ebp + edx*2 + 0x32730]
xor ebx, 0x7f0
shr ebx, 4
mov dword [esp + 0x54], ebx
mov ebx, esi
mov esi, dword [esp + 0x54]
xor ebx, 0x7f0
shr ebx, 4
mov esi, dword [ebp + esi*4 + reloc.MSVCRT.dll_strncpy]
add esi, dword [ebp + ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [esp + 0x80]
add esi, eax
mov eax, dword [esp + 0x44]
lea eax, [eax + edi - 1]
lea ebx, [eax + ebx + 1]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x50], ebx
jae 0xb88a5c
lea eax, [eax + eax*2]
shl eax, 4
lea eax, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
sub ebx, eax
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
add eax, 0x30
dec ebx
mov dword [eax], reloc.MSVCRT.dll_strncpy
jne 0xb88a4c
mov ebx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push ecx
push 0
push ebp
call fcn.00b88d8f
lea edx, [ebx + ebx*2]
add eax, esi
shl edx, 4
lea ecx, reloc.MSVCRT.dll_strncpy
mov edx, dword [edx + ebp + reloc.MSVCRT.dll_strncpy]
cmp eax, edx
jae 0xb88ab3
mov edx, dword [esp + 0x80]
mov dword [ecx], eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x1c], 0
lea eax, [edi + edx]
mov edx, dword [esp + 0x40]
mov dword [ecx + 0x18], eax
mov eax, 1
add edx, 4
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x14], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add eax, 2
add edx, 8
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
je 0xb88b23
mov eax, edx
mov eax, dword [eax + 4]
cmp eax, 0x80
mov dword [esp + 0x40], eax
jb 0xb88b07
mov ecx, 0x1ffff
mov edx, eax
sub ecx, eax
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr edx, cl
xor ebx, ebx
mov bl, byte [edx + ebp + 0x306a0]
lea ecx, [ebx + ecx*2]
mov dword [esp + 0x4c], ecx
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
add esi, 4
add edx, 0x30
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edx
inc edi
jmp 0xb88842
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x80], eax
mov esi, eax
jne 0xb87ea9
jmp 0xb88b52
mov ecx, dword [esp + 0x20]
mov dword [ebp + reloc.MSVCRT.dll_strncpy], eax
mov dword [ebp + reloc.MSVCRT.dll_strncpy], ecx
mov edx, dword [esp + 0x88]
push esi
push edx
push ebp
call fcn.00b88dcf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc