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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov dword [esp], 0xbb74b951
mov dword [esp + 4], 0xbf19bd2b
mov dword [esp + 8], 0xa30ca11d
mov dword [esp + 0xc], 0xa734a561
mov dword [esp + 0x10], 0xab6ca936
mov dword [esp + 0x14], 0xaf38ad09
mov dword [esp + 0x18], 0x9377910d
lea eax, [esp + 0x1c]
mov word [esp + 0x1c], 0x9592
mov dword [esp + 0x1e], 0
mov dword [esp + 0x21], 0
mov ecx, 0xb5e50cc7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x4a1af339]
mov esi, ecx
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x84]
add dl, 0x8f
mov byte [esp + ecx + 0x4a1af339], dl
cmp ecx, 0xb5e50ceb
je 0xb1fa33
movzx edx, byte [esp + ecx + 0x4a1af33a]
lea esi, [ecx + 1]
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
inc edx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x84]
add dl, 0x8f
mov byte [esp + ecx + 0x4a1af33a], dl
add ecx, 2
jmp 0xb1f9d0
lea esi, [esp + 0xe6]
mov edx, esp
mov ecx, 7
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x102]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x58]
push edi
push 0
push 0
push 0xe
push esi
push 0
call dword [0xb4b5b0]
mov ebx, dword [esp + 0x58]
test ebx, ebx
jns 0xb1fa7d
mov eax, 0xffffffff
jmp 0xb1fa80
lea eax, [ebx + ebx]
push eax
call fcn.00b092b0
add esp, 4
push edi
push ebx
mov ebx, eax
push eax
push 0xe
push esi
push 0
call dword [0xb4b5b0]
mov dword [esp], 0x93609172
mov dword [esp + 4], 0x9f719d71
mov dword [esp + 8], 0x9b7b990b
mov dword [esp + 0xc], 0x876b8573
mov dword [esp + 0x10], 0x8380811b
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov ecx, 0xeb03e3c3
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x14fc1c3d]
mov esi, ecx
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x84]
add dl, 0xab
mov byte [esp + ecx + 0x14fc1c3d], dl
movzx edx, byte [esp + ecx + 0x14fc1c3e]
lea esi, [ecx + 1]
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
inc edx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x84]
add dl, 0xab
mov byte [esp + ecx + 0x14fc1c3e], dl
add ecx, 2
cmp ecx, 0xeb03e3dd
jne 0xb1fae0
lea edi, [esp + 0xd2]
mov edx, esp
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xe6]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x58]
mov ecx, eax
and ecx, 0xa
xor eax, 0xa
lea edx, [eax + ecx*2]
dec edx
test edx, edx
jns 0xb1fb7e
mov eax, 0xffffffff
jmp 0xb1fb86
lea eax, [eax + ecx*2]
add eax, eax
add eax, 0xfffffffe
push eax
call fcn.00b092b0
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0xb1fbb1
lea edx, [ebx + 2]
mov eax, esi
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xb1fba0
mov word [eax], 0
movzx ecx, word [esp + 0xd2]
test cx, cx
je 0xb1fbe1
lea edx, [esp + 0xd4]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xb1fbd0
mov word [eax], 0
lea eax, [esp + 0x80]
push eax
push esi
call fcn.00b3f0f0
add esp, 8
not eax
shr eax, 0x1f
mov dword [esp + 0x78], ebx
jmp dword [eax*4 + 0xb46a48]