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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x5c], edi
mov eax, dword [edi + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x94], eax
inc dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.00b87aee
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x60]
push dword [esp + 0x88]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
call fcn.00b87da1
mov ecx, dword [edi + 0x3c]
lea eax, [esp + 0x60]
push eax
call fcn.00b89efe
mov esi, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], esi
call fcn.00b858c4
xor ebx, ebx
test esi, esi
je 0xbddccf
cmp byte [esi + 0x20], bl
je 0xbddb90
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], ebx
mov dword [ecx + 0xf4], eax
push dword [esi + 0x10]
call fcn.00b87028
mov edx, dword [esp + 0x14]
mov ecx, edx
shl ecx, 4
mov dword [esp + 0x10], eax
mov eax, ebx
push 4
mov dword [esp + 0x20], ecx
mov ecx, ebx
mov dword [esp + 0x64], 0xc10b84
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
pop esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x78], 0xc12cd8
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x4c], 0xc10968
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], 0x47
mov dword [esp + 0x40], 0x48
mov dword [esp + 0x48], 0x40
mov eax, dword [esp + 0x3c]
cmp ecx, dword [eax + 0x14]
jl 0xbdd7d8
cmp ecx, edx
jge 0xbdd8f3
mov byte [esp + 0xf], bl
cmp ecx, dword [eax + 0x14]
jge 0xbdd8aa
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [eax + esi*4]
cmp word [eax + 8], bx
jne 0xbdd848
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + esi*4 + 4]
cmp word [eax + 8], 0x33
je 0xbdd822
mov ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0xbddb46
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + esi*4]
cmp dword [eax], 0x24
jne 0xbdd831
mov byte [esp + 0xf], 1
jmp 0xbdd83a
cmp dword [eax], 0x1e
jne 0xbddb46
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], bx
je 0xbdd800
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], 0x41
jne 0xbdd88a
mov edi, dword [esp + 0x24]
mov ecx, ebx
inc esi
mov eax, dword [edi + esi*4]
movzx eax, word [eax + 8]
cmp ax, word [esp + 0x74]
jne 0xbdd86f
inc ecx
jmp 0xbdd85d
cmp ax, word [esp + 0x40]
jne 0xbdd87b
dec ecx
js 0xbdd886
jmp 0xbdd85d
cmp ax, word [esp + 0x48]
jne 0xbdd85d
test ecx, ecx
jne 0xbdd85d
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x44], edx
jge 0xbdd8aa
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
mov eax, dword [eax]
add eax, ecx
lea ecx, [esp + 0x28]
push eax
call fcn.00be7ac0
jmp 0xbdd8bf
lea ecx, [esp + 0x28]
call fcn.00b898d0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], 1
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x7c]
call fcn.00bd72a6
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.00bd6ca9
mov ecx, dword [esp + 0x44]
sub dword [esp + 0x1c], 0x10
inc ecx
mov edx, dword [esp + 0x14]
inc esi
mov dword [esp + 0x44], ecx
jmp 0xbdd7c7
push dword [eax + 0x10]
call fcn.00b883c1
mov eax, dword [esp + 0x3c]
push 4
pop esi
mov dword [esp + 0x14], 1
cmp dword [eax + 0x14], 1
jl 0xbdda56
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], ecx
jmp 0xbdd944
mov eax, dword [ecx + esi*4]
cmp dword [eax], 0x24
je 0xbdd943
cmp dword [eax], 0x1e
jne 0xbdd944
mov eax, 0x100
mov dword [esp + 0x1c], eax
inc esi
mov eax, dword [ecx + esi*4]
cmp word [eax + 8], bx
je 0xbdd92d
xor edi, edi
lea edx, [esi*4 + 4]
mov ecx, ebx
inc edi
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + edx]
movzx eax, word [eax + 8]
cmp ax, word [esp + 0x74]
jne 0xbdd96e
inc ecx
jmp 0xbdd9ec
cmp ax, word [esp + 0x40]
jne 0xbdd9e1
dec ecx
jns 0xbdd9ec
mov eax, dword [esp + 0x44]
push 0
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x60]
pop ebx
cmp dword [esp + 0x14], eax
jle 0xbdd9f5
mov ecx, dword [edi + 0x3c]
lea eax, [esi + 2]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add eax, esi
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1c]
call fcn.00b89f40
test eax, eax
js 0xbddb62
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.00b83f34
mov eax, dword [esp + 0x1c]
push 1
or eax, 0x200
push eax
lea eax, [esp + 0x30]
push eax
jmp 0xbdda19
cmp ax, word [esp + 0x48]
jne 0xbdd9ec
test ecx, ecx
je 0xbdd978
inc edi
add edx, 4
jmp 0xbdd95d
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.00b83f34
mov eax, dword [esp + 0x1c]
push 1
or eax, 0x200
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.00b88480
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
inc eax
add dword [esp + 0x20], 4
add esi, eax
mov eax, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [eax + 0x14]
jle 0xbdd91c
mov esi, dword [esp + 0x50]
mov dword [esp + 0x20], esi
jmp 0xbdda58
mov esi, ebx
lea ecx, [esp + 0x28]
call fcn.00b898d0
lea eax, [edi + 0x40]
mov dword [esp + 0x34], 6
push 0xc3aa4c
lea ecx, [esp + 0x9c]
mov dword [esp + 0x2c], eax
call fcn.00b87da1
mov eax, dword [esp + 0x34]
sub eax, 6
neg eax
push 1
sbb eax, eax
not eax
and eax, dword [esp + 0x2c]
push ebx
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00b88480
lea ecx, [esp + 0x98]
call fcn.00b858c4
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x3c]
push ebx
push ebx
mov eax, dword [eax + 0x10]
inc eax
push eax
call fcn.00b8b7dc
mov edx, dword [ebp + 8]
mov dword [esp + 0x48], ebx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0xbddb18
mov eax, dword [esp + 0x7c]
sub eax, esi
mov dword [esp + 0x40], eax
mov eax, dword [eax + esi]
cmp byte [eax], 0
je 0xbddb03
sub ecx, ebx
sub esp, 0x10
mov edi, esp
lea esi, [ecx - 1]
shl esi, 4
add esi, dword [edx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
push dword [esi]
call fcn.00bddeae
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
inc ebx
mov eax, dword [esp + 0x40]
add esi, 4
mov dword [esp + 0x20], esi
cmp ebx, ecx
jb 0xbddada
xor ebx, ebx
mov ecx, 0xc48280
call fcn.00b8829f
lea ecx, [esp + 0x4c]
call fcn.00b83fd4
lea ecx, [esp + 0x78]
call fcn.00ba1344
lea ecx, [esp + 0x28]
call fcn.00b898d0
lea ecx, [esp + 0x60]
jmp 0xbddcca
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x3c]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
movsx eax, word [eax + 0xa]
push eax
push 0x91
call fcn.00bea390
lea ecx, [esp + 0x4c]
call fcn.00b83fd4
lea ecx, [esp + 0x78]
call fcn.00ba1344
lea ecx, [esp + 0x28]
call fcn.00b898d0
lea ecx, [esp + 0x60]
call fcn.00bd6d38
mov ebx, 0x80004005
jmp 0xbddccf
mov ecx, dword [edi + 0x38]
cmp dword [ecx], 0x40
jne 0xbddb9d
call fcn.00bde012
lea esi, [edi + 0x40]
mov dword [esp + 0x4c], 0xc10b84
cmp dword [esi + 0xc], 8
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 1
jne 0xbddbce
mov eax, dword [esi]
jmp 0xbddbd0
mov eax, ebx
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
lea ecx, [esp + 0x28]
call fcn.00b898d0
lea eax, [esp + 0x28]
mov dword [esp + 0x34], 6
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], esi
call fcn.00bd6ca9
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x9c]
call fcn.00b8927f
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x50]
call fcn.00bd6ca9
lea ecx, [esp + 0x98]
call fcn.00b898d0
mov edi, dword [esp + 0x14]
dec edi
js 0xbddc60
mov ebx, dword [ebp + 8]
mov esi, edi
shl esi, 4
mov eax, dword [ebx]
lea ecx, [esp + 0x28]
add eax, esi
push eax
call fcn.00be7ac0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
call fcn.00bd6ca9
sub esi, 0x10
dec edi
jns 0xbddc3c
xor ebx, ebx
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, edi
jle 0xbddcac
sub eax, edi
mov esi, ebx
test eax, eax
jle 0xbddcac
lea eax, [esp + 0x60]
mov dword [esp + 0x60], ebx
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 1
call fcn.00bd6ca9
lea ecx, [esp + 0x60]
call fcn.00b898d0
mov eax, dword [esp + 0x3c]
inc esi
mov eax, dword [eax + 0x14]
sub eax, edi
cmp esi, eax
jl 0xbddc77
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x4c]
push eax
mov ecx, dword [ecx + 0x38]
call fcn.00bde037
lea ecx, [esp + 0x28]
call fcn.00b898d0
lea ecx, [esp + 0x4c]
call fcn.00bd6d38
lea ecx, [esp + 0x88]
call fcn.00b858c4
lea ecx, [ebp + 0xc]
call fcn.00b858c4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14