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

Disassembly:
push 0xffffffffffffffff
push 0xd254d0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0xd916ec]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xd916ec]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov edi, edx
xor esi, esi
mov dword [esp + 0x2c], esi
mov edx, dword [ebp]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x38], ecx
mov ecx, ebp
mov dword [esp + 0x28], edi
call eax
mov dword [esp + 0x54], eax
cmp eax, 4
je 0xbfa9cf
cmp eax, 5
je 0xbfa9cf
cmp eax, 6
jne 0xbfa9c3
jmp 0xbfa9cf
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
jmp 0xbfa9d3
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x7c], 4
call fcn.00bf5900
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 6
call fcn.00bf46c0
mov eax, dword [ebp + 4]
cmp eax, esi
jne 0xbfaa8c
xor eax, eax
mov dword [edi + 8], esi
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [esp + 0x3c]
mov ecx, edi
call fcn.00bf47a0
mov ebx, 7
mov byte [esp + 0x78], 7
cmp dword [edi + 8], ebx
jne 0xbfaa42
push edi
lea ecx, [esp + 0x26]
mov byte [esp + 0x26], 0
call fcn.00bf5ae0
cmp eax, esi
je 0xbfaa42
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x78], 8
cmp dword [esp + 0x44], ebx
jne 0xbfaa79
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x26]
mov byte [esp + 0x26], 0
call fcn.00bf5ae0
cmp eax, esi
je 0xbfaa79
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push esi
call eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 0
call fcn.00bf46c0
jmp 0xbfaca8
mov byte [esp + 0x23], 0
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x23]
mov dword [esp + 0x24], edx
cmp ecx, esi
jne 0xbfaaa7
mov ecx, edx
mov dword [eax + 0x14], ecx
jmp 0xbfaaad
mov dword [esp + 0x24], ecx
mov edx, ecx
mov eax, dword [ebp + 4]
mov ebx, dword [eax + 4]
sub ebx, dword [eax]
xor ecx, ecx
sar ebx, 2
mov dword [esp + 0x30], ecx
cmp ebx, esi
jbe 0xbfab61
cmp byte [edx], 0
jne 0xbfabb9
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
cmp eax, esi
je 0xbfab54
cmp dword [eax + 4], esi
je 0xbfab54
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
mov eax, dword [esp + 0x38]
push eax
push esi
lea eax, [esp + 0x68]
push eax
call edx
mov edi, eax
lea esi, [esp + 0x3c]
mov byte [esp + 0x78], 9
call fcn.00bf5a80
mov byte [esp + 0x78], 0xa
cmp dword [esp + 0x64], 7
jne 0xbfab38
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x26]
mov byte [esp + 0x26], 0
call fcn.00bf5ae0
test eax, eax
je 0xbfab38
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0
call eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 6
call fcn.00bf46c0
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor esi, esi
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, ebx
jb 0xbfaac6
cmp byte [edx], 0
jne 0xbfabb9
lea ecx, [esp + 0x23]
cmp edx, ecx
jne 0xbfabb9
mov edx, dword [ebp + 4]
mov dword [edx + 0x14], esi
mov eax, dword [ebp + 4]
mov edi, dword [eax]
mov esi, eax
cmp edi, dword [esi + 4]
je 0xbfabb3
lea ebx, [edi + 4]
cmp dword [edi], 0
jne 0xbfaba5
mov eax, dword [esi + 4]
sub eax, ebx
sar eax, 2
add eax, eax
add eax, eax
push eax
push ebx
push edi
call fcn.00cb8cc0
add esp, 0xc
add dword [esi + 4], 0xfffffffc
jmp 0xbfabab
add edi, 4
add ebx, 4
mov esi, dword [ebp + 4]
cmp edi, dword [esi + 4]
jne 0xbfab83
mov edi, dword [esp + 0x28]
xor esi, esi
xor eax, eax
mov dword [edi + 8], esi
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [esp + 0x3c]
mov ecx, edi
call fcn.00bf47a0
mov byte [esp + 0x78], 0xb
cmp dword [edi + 8], 7
jne 0xbfabf5
push edi
lea ecx, [esp + 0x26]
mov byte [esp + 0x26], 0
call fcn.00bf5ae0
cmp eax, esi
je 0xbfabf5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x78], 0xc
mov eax, dword [esp + 0x44]
cmp eax, 7
jne 0xbfac33
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x26]
mov byte [esp + 0x26], 0
call fcn.00bf5ae0
cmp eax, esi
je 0xbfac2f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push esi
call eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x78], 0
cmp eax, 4
je 0xbfac64
cmp eax, 5
je 0xbfac64
cmp eax, 6
jne 0xbfaca8
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0xbfaca8
dec dword [eax]
mov eax, dword [esp + 0x3c]
jne 0xbfaca8
cmp eax, esi
je 0xbfaca8
mov esi, eax
call fcn.00bf5b20
jmp 0xbfaca8
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0xbfaca8
dec dword [eax]
mov eax, dword [esp + 0x3c]
jne 0xbfaca8
mov ebx, eax
cmp eax, esi
je 0xbfaca8
cmp dword [eax + 0x18], 0x10
lea esi, [eax + 4]
jb 0xbfac8e
mov ecx, dword [esi]
push ecx
call fcn.00cb8a36
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.00cb8a36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00cb8a41
add esp, 0x68
ret 8