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

Disassembly:
push 0xffffffffffffffff
push 0xd45a22
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x24
mov dword [esp + 0x5c], ebx
call fcn.00cd8a50
add esp, 4
cmp eax, ebx
je 0xbdd534
mov dword [esp + 0x54], eax
mov dword [eax], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x54]
mov byte [eax + 0x20], 1
mov ecx, dword [esp + 0x54]
mov byte [ecx + 0x21], 1
mov dword [esp + 0x6c], 1
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x6c], 2
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0x34], esi
cmp eax, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
je 0xbdd3b1
jmp 0xbdd204
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov dword [esp + 0x18], edx
jne 0xbdd22a
cmp dword [eax + 0xc], edx
jae 0xbdd220
mov eax, dword [eax + 8]
jmp 0xbdd224
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0xbdd216
mov eax, dword [esi + 0x20]
lea ebx, [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ebx
cmp ecx, eax
je 0xbdd247
cmp edx, dword [ecx + 0xc]
jb 0xbdd247
lea eax, [esp + 0x20]
jmp 0xbdd24f
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov eax, dword [eax]
cmp eax, dword [esi + 0x20]
je 0xbdd25b
mov edi, dword [eax + 0x10]
jmp 0xbdd25d
xor edi, edi
mov dword [esp + 0x20], edi
cmp edi, dword [esp + 0x78]
je 0xbdd396
cmp byte [esp + 0x7c], 0
jne 0xbdd27c
test edi, edi
jne 0xbdd396
jmp 0xbdd2ab
test edi, edi
je 0xbdd2ab
lea ecx, [esi + 0xc]
lea ebx, [esp + 0x28]
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], edi
call fcn.00bde230
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esi + 0x10]
je 0xbdd2a7
cmp dword [ecx + 0x10], 5
je 0xbdd396
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0x18]
mov esi, ebx
call fcn.00bdacc0
mov edx, dword [esp + 0x78]
mov dword [eax], edx
mov ebp, dword [esp + 0x44]
lea eax, [esp + 0x18]
cmp eax, ebp
jae 0xbdd2fc
mov ecx, eax
mov eax, dword [esp + 0x40]
cmp eax, ecx
ja 0xbdd2fc
mov esi, ecx
sub esi, eax
sar esi, 2
cmp ebp, dword [esp + 0x48]
jne 0xbdd2f0
lea eax, [esp + 0x40]
call fcn.00c4e360
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
test ebp, ebp
je 0xbdd31e
mov edx, dword [eax + esi*4]
mov dword [ebp], edx
jmp 0xbdd31a
cmp ebp, dword [esp + 0x48]
jne 0xbdd30f
lea eax, [esp + 0x40]
call fcn.00c4e360
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0xbdd31e
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
mov ebp, dword [esp + 0x44]
add ebp, 4
mov dword [esp + 0x44], ebp
test edi, edi
je 0xbdd392
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x24]
call fcn.00bde290
mov ebp, eax
mov eax, dword [ebp + 4]
lea edx, [esp + 0x18]
cmp edx, eax
jae 0xbdd371
mov ecx, dword [ebp]
cmp ecx, edx
ja 0xbdd371
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [ebp + 8]
jne 0xbdd35e
mov eax, ebp
call fcn.00c4e360
mov eax, dword [ebp]
lea ecx, [eax + esi*4]
mov eax, dword [ebp + 4]
test eax, eax
je 0xbdd38a
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0xbdd38a
cmp eax, dword [ebp + 8]
jne 0xbdd37d
mov eax, ebp
call fcn.00c4e360
mov eax, dword [ebp + 4]
test eax, eax
je 0xbdd38a
mov edx, dword [esp + 0x18]
mov dword [eax], edx
add dword [ebp + 4], 4
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x34]
jne 0xbdd200
mov ecx, dword [esp + 0x40]
xor ebx, ebx
sub ebp, ecx
test ebp, 0xfffffffc
je 0xbdd4cb
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x7c]
push edx
push esi
call eax
mov eax, dword [esp + 0x54]
mov esi, dword [eax]
mov dword [esp + 0x34], eax
cmp esi, eax
je 0xbdd4b3
mov edi, dword [esp + 0x74]
mov ebp, dword [esi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esi + 0x10]
push eax
push ebp
push edi
call edx
push ebp
call fcn.00bdc220
test al, al
je 0xbdd460
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
jne 0xbdd426
cmp dword [eax + 0xc], ebp
jae 0xbdd41c
mov eax, dword [eax + 8]
jmp 0xbdd420
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x41], 0
je 0xbdd412
mov eax, dword [edi + 0x10]
mov dword [esp + 0x7c], ecx
cmp ecx, eax
je 0xbdd43c
cmp ebp, dword [ecx + 0xc]
jb 0xbdd43c
lea eax, [esp + 0x7c]
jmp 0xbdd444
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov eax, dword [eax]
cmp eax, dword [edi + 0x10]
je 0xbdd451
cmp byte [eax + 0x14], 0
jne 0xbdd460
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
push edi
call eax
cmp byte [esi + 0x21], 0
jne 0xbdd4a7
mov eax, dword [esi + 8]
cmp byte [eax + 0x21], 0
jne 0xbdd48c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x21], 0
jne 0xbdd4a7
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x21], 0
je 0xbdd480
jmp 0xbdd4a7
mov eax, dword [esi + 4]
cmp byte [eax + 0x21], 0
jne 0xbdd4a5
cmp esi, dword [eax + 8]
jne 0xbdd4a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x21], 0
je 0xbdd495
mov esi, eax
cmp esi, dword [esp + 0x34]
jne 0xbdd3e5
jmp 0xbdd4b7
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x40]
push eax
push edi
call edx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x6c], 1
cmp ecx, ebx
je 0xbdd4dd
push ecx
call fcn.00cd8a36
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x6c], 3
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x84]
lea esi, [esp + 0x58]
call fcn.00bde620
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x54]
push eax
call fcn.00cd8a36
add esp, 4
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], ebx
call fcn.00b94df0
int3