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

Disassembly:
mov eax, 0x1006ca60
call fcn.00b8e447
sub esp, 0xd8
push ebx
push esi
push edi
mov esi, ecx
call fcn.00b52258
test eax, eax
jne 0xb51dbb
cmp dword [esi], eax
jne 0xb51603
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00b511e8
test eax, eax
jne 0xb51dbb
mov eax, dword [esi]
lea ecx, [eax + 4]
mov eax, dword [eax + 4]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
call fcn.00b316f9
mov dword [ebp - 0x40], 0x10072a1c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00b316f9
mov dword [ebp - 0x54], 0x10072a14
push 1
lea ecx, [ebp - 0x2c]
pop edi
mov byte [ebp - 4], 1
call fcn.00b316f9
mov dword [ebp - 0x2c], 0x100729cc
mov eax, dword [esi + 0x60]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x9c]
cmp eax, edi
mov ebx, edi
jle 0xb516aa
lea ecx, [ebp - 0xe4]
call fcn.00b4032b
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00b52b4f
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.00b40375
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [eax + ecx*4 - 4]
call fcn.00b4035c
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [eax + ecx*4 - 4]
call fcn.00b403ef
inc ebx
cmp ebx, dword [esi + 0x9c]
jl 0xb5165c
mov eax, dword [esi + 0x9c]
cmp eax, edi
jle 0xb5172c
push 0xc
call fcn.00b3acf0
test eax, eax
pop ecx
je 0xb516ce
and dword [eax + 4], 0
mov dword [eax], reloc.MSVCRT.dll_strncpy
mov ebx, eax
jmp 0xb516d0
xor ebx, ebx
test ebx, ebx
mov dword [ebp + 0x10], ebx
je 0xb516dd
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov eax, dword [eax + edi*4 - 4]
mov dword [ebx + 8], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00b529e2
push 4
call fcn.00b3acf0
test eax, eax
pop ecx
je 0xb51707
mov dword [eax], ebx
jmp 0xb51709
xor eax, eax
push eax
lea ecx, [ebp - 0x54]
call fcn.00b50ccd
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0xb51723
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [esi + 0x9c]
jl 0xb516b4
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x18], ebx
jle 0xb51748
mov ecx, dword [esi]
push ebx
add ecx, 4
push ebx
push edi
mov eax, dword [ecx]
call dword [eax + 8]
inc edi
cmp edi, dword [ebp - 0x18]
jl 0xb51735
cmp dword [esi + 0x88], ebx
jne 0xb517a6
mov dword [ebp - 0x2c], reloc.MSVCRT.dll_strncpy
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00b3ab67
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00b3ab3e
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.00b3ab67
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00b3ab3e
mov dword [ebp - 0x40], 0x10072a1c
mov dword [ebp - 4], 7
mov esi, 0x80004005
jmp 0xb51da5
lea eax, [ebp - 0x58]
lea ecx, [esi + 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x8c]
push dword [eax]
call fcn.00b51e3a
cmp dword [ebp + 0xc], ebx
je 0xb5182e
push 4
lea ecx, [ebp - 0x98]
call fcn.00b35708
mov dword [ebp - 0x98], 0x10072964
mov ecx, dword [esi + 0x64]
mov eax, dword [ebp - 0x14]
xor edi, edi
mov byte [ebp - 4], 8
cmp dword [ecx + eax*8], ebx
jbe 0xb5180d
cmp edi, dword [ebp - 0x58]
jne 0xb517f5
push dword [ebp + 0xc]
jmp 0xb517f6
push ebx
lea ecx, [ebp - 0x98]
call fcn.00b50ccd
mov ecx, dword [esi + 0x64]
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, dword [ecx + eax*8]
jb 0xb517eb
mov ecx, dword [esi]
push ebx
push dword [ebp - 0x8c]
add ecx, 4
mov edx, dword [ecx]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00b3ab3e
push 0x20
call fcn.00b3acf0
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 9
je 0xb5184a
mov ecx, eax
call fcn.00b51faf
jmp 0xb5184c
xor eax, eax
cmp eax, ebx
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0xa0], eax
je 0xb51863
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 0x18
mov byte [ebp - 4], 0xa
call fcn.00b3acf0
cmp eax, ebx
pop ecx
je 0xb51885
and dword [eax + 4], 0
and dword [eax + 8], 0
mov dword [eax], reloc.MSVCRT.dll_strncpy
mov ebx, eax
jmp 0xb51887
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 0xa4], ebx
je 0xb51897
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0xb
call fcn.00b51e84
push dword [ebp + 0x18]
lea ecx, [ebx + 8]
call fcn.00b316d2
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
push 4
lea ecx, [ebp - 0x84]
call fcn.00b35708
mov dword [ebp - 0x84], 0x1007295c
push 4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00b35708
mov dword [ebp - 0x70], 0x100729ec
push dword [ebp + 0x10]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00b50ccd
push ebx
lea ecx, [ebp - 0x70]
call fcn.00b50ccd
push 1
pop edi
cmp dword [esi + 0x9c], edi
jle 0xb51925
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x70]
mov eax, dword [eax + edi*4 - 4]
push dword [eax]
call fcn.00b50ccd
inc edi
cmp edi, dword [esi + 0x9c]
jl 0xb5190b
mov eax, dword [esi + 0x10]
and dword [ebp + 0xc], 0
test eax, eax
jle 0xb51a4b
mov eax, dword [ebp + 0xc]
mov edi, eax
mov eax, dword [esi + 0x14]
shl edi, 2
mov eax, dword [edi + eax]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [esi]
mov byte [ebp - 4], 0xe
mov eax, dword [eax + 0x80]
mov eax, dword [eax + edi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0xb51963
mov eax, ecx
jmp 0xb51966
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x100715e0
push eax
call dword [ecx]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0xb51981
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
and dword [ebp + 8], 0
mov eax, dword [esi]
mov byte [ebp - 4], 0xf
mov eax, dword [eax + 0x80]
mov eax, dword [eax + edi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0xb5199f
mov eax, ecx
jmp 0xb519a2
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x10071670
push eax
call dword [ecx]
cmp dword [ebp + 8], 0
je 0xb51a1a
push 0x14
call fcn.00b3acf0
test eax, eax
pop ecx
je 0xb519da
xor ecx, ecx
mov edi, eax
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], reloc.MSVCRT.dll_strncpy
jmp 0xb519dc
xor edi, edi
test edi, edi
mov dword [ebp - 0x9c], edi
je 0xb519ec
mov eax, dword [edi]
push edi
call dword [eax + 4]
and dword [edi + 0x10], 0
mov eax, dword [ebp + 8]
push edi
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x5c]
mov ecx, edi
add eax, 8
push eax
call fcn.00b4230e
test edi, edi
mov byte [ebp - 4], 0xf
je 0xb51a1a
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xe
test eax, eax
je 0xb51a2b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xd
test eax, eax
je 0xb51a3c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x10]
jl 0xb51934
mov eax, dword [esi + 0x10]
mov edi, dword [ebp - 0x14]
push 1
pop ecx
cmp eax, ecx
jle 0xb51a97
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
cmp edx, 3
jne 0xb51a6e
test eax, eax
je 0xb51a86
cmp edx, 0x3030103
jne 0xb51a7a
test eax, eax
je 0xb51a86
cmp edx, 0x303011b
jne 0xb51a89
test eax, eax
jne 0xb51a89
mov edi, dword [ebp + 0xc]
add ecx, 4
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x10]
jl 0xb51a5e
mov eax, dword [esi]
push dword [ebp + 0x20]
mov dword [eax + 0x70], edi
push dword [ebp - 0x68]
mov eax, dword [esi + 4]
push 0
push dword [ebp - 0x64]
mov ecx, dword [eax]
push 1
push 0
push dword [ebp - 0x78]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
je 0xb51b4e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00b3ab3e
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.00b3ab3e
test ebx, ebx
mov byte [ebp - 4], 0xa
je 0xb51aea
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0xb51afb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], reloc.MSVCRT.dll_strncpy
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
call fcn.00b3ab67
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00b3ab3e
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.00b3ab67
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00b3ab3e
mov dword [ebp - 0x40], 0x10072a1c
mov dword [ebp - 4], 0x13
mov esi, edi
jmp 0xb51da5
push dword [ebp + 0x14]
lea eax, [esi + 0xfc]
sub esp, 0x14
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00b52996
lea eax, [esi + 0xa8]
push eax
call fcn.00b51ebe
push dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.00b41d82
push 1
pop eax
cmp dword [esi + 0x9c], eax
mov dword [ebp + 0xc], eax
jle 0xb51bc6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x18]
mov edi, dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.00b404d7
test eax, eax
mov dword [ebp + 0x20], eax
jne 0xb51c13
push dword [edi + 0x34]
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.00b41d82
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x9c]
jl 0xb51b8e
mov eax, dword [esi + 0xf8]
xor edi, edi
cmp dword [eax + 0x90], edi
jle 0xb51ce0
mov ecx, dword [esi + 0x74]
and dword [ebp + 0xc], 0
test ecx, ecx
jle 0xb51ca6
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + edi*4]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x78]
mov edx, dword [ebp + 0x18]
cmp dword [eax], edx
je 0xb51ca1
inc dword [ebp + 0xc]
add eax, 8
cmp dword [ebp + 0xc], ecx
jl 0xb51bf8
jmp 0xb51ca6
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00b3ab3e
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.00b3ab3e
test ebx, ebx
mov byte [ebp - 4], 0xa
je 0xb51c3c
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0xb51c4d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], reloc.MSVCRT.dll_strncpy
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.00b3ab67
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00b3ab3e
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x15
call fcn.00b3ab67
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00b3ab3e
mov dword [ebp - 0x40], 0x10072a1c
mov esi, dword [ebp + 0x20]
mov dword [ebp - 4], 0x16
jmp 0xb51da5
mov eax, dword [ebp + 0xc]
jmp 0xb51ca9
or eax, reloc.MSVCRT.dll_strncpy
test eax, eax
jge 0xb51cb2
mov eax, dword [ebp + 0x10]
jmp 0xb51cba
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x68]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push ecx
lea ecx, [eax + 0x3c]
call fcn.00b41d82
mov eax, dword [esi + 0xf8]
inc edi
cmp edi, dword [eax + 0x90]
jl 0xb51bda
mov eax, dword [ebp - 0x18]
lea edi, [eax - 1]
test edi, edi
jl 0xb51d1d
sub eax, edi
lea eax, [eax*4 - 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
add eax, 8
mov ecx, dword [edx + ecx]
push eax
add ecx, 8
call fcn.00b527fa
add dword [ebp + 0xc], 4
dec edi
test edi, edi
jge 0xb51cf6
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00b3ab3e
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.00b3ab3e
test ebx, ebx
mov byte [ebp - 4], 0xa
je 0xb51d46
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0xb51d57
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], reloc.MSVCRT.dll_strncpy
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.00b3ab67
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00b3ab3e
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x18
call fcn.00b3ab67
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00b3ab3e
mov dword [ebp - 0x40], 0x10072a1c
mov dword [ebp - 4], 0x19
xor esi, esi
lea ecx, [ebp - 0x40]
call fcn.00b3ab67
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00b3ab3e
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c