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

Disassembly:
push 0xffffffffffffffff
push 0x265a22
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x2d16ec]
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.001f8a50
add esp, 4
cmp eax, ebx
je 0xfd534
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 0xfd3b1
jmp 0xfd204
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 0xfd22a
cmp dword [eax + 0xc], edx
jae 0xfd220
mov eax, dword [eax + 8]
jmp 0xfd224
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0xfd216
mov eax, dword [esi + 0x20]
lea ebx, [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ebx
cmp ecx, eax
je 0xfd247
cmp edx, dword [ecx + 0xc]
jb 0xfd247
lea eax, [esp + 0x20]
jmp 0xfd24f
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov eax, dword [eax]
cmp eax, dword [esi + 0x20]
je 0xfd25b
mov edi, dword [eax + 0x10]
jmp 0xfd25d
xor edi, edi
mov dword [esp + 0x20], edi
cmp edi, dword [esp + 0x78]
je 0xfd396
cmp byte [esp + 0x7c], 0
jne 0xfd27c
test edi, edi
jne 0xfd396
jmp 0xfd2ab
test edi, edi
je 0xfd2ab
lea ecx, [esi + 0xc]
lea ebx, [esp + 0x28]
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], edi
call fcn.000fe230
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esi + 0x10]
je 0xfd2a7
cmp dword [ecx + 0x10], 5
je 0xfd396
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0x18]
mov esi, ebx
call fcn.000facc0
mov edx, dword [esp + 0x78]
mov dword [eax], edx
mov ebp, dword [esp + 0x44]
lea eax, [esp + 0x18]
cmp eax, ebp
jae 0xfd2fc
mov ecx, eax
mov eax, dword [esp + 0x40]
cmp eax, ecx
ja 0xfd2fc
mov esi, ecx
sub esi, eax
sar esi, 2
cmp ebp, dword [esp + 0x48]
jne 0xfd2f0
lea eax, [esp + 0x40]
call fcn.0016e360
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
test ebp, ebp
je 0xfd31e
mov edx, dword [eax + esi*4]
mov dword [ebp], edx
jmp 0xfd31a
cmp ebp, dword [esp + 0x48]
jne 0xfd30f
lea eax, [esp + 0x40]
call fcn.0016e360
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0xfd31e
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 0xfd392
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x24]
call fcn.000fe290
mov ebp, eax
mov eax, dword [ebp + 4]
lea edx, [esp + 0x18]
cmp edx, eax
jae 0xfd371
mov ecx, dword [ebp]
cmp ecx, edx
ja 0xfd371
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [ebp + 8]
jne 0xfd35e
mov eax, ebp
call fcn.0016e360
mov eax, dword [ebp]
lea ecx, [eax + esi*4]
mov eax, dword [ebp + 4]
test eax, eax
je 0xfd38a
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0xfd38a
cmp eax, dword [ebp + 8]
jne 0xfd37d
mov eax, ebp
call fcn.0016e360
mov eax, dword [ebp + 4]
test eax, eax
je 0xfd38a
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 0xfd200
mov ecx, dword [esp + 0x40]
xor ebx, ebx
sub ebp, ecx
test ebp, 0xfffffffc
je 0xfd4cb
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 0xfd4b3
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.000fc220
test al, al
je 0xfd460
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
jne 0xfd426
cmp dword [eax + 0xc], ebp
jae 0xfd41c
mov eax, dword [eax + 8]
jmp 0xfd420
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x41], 0
je 0xfd412
mov eax, dword [edi + 0x10]
mov dword [esp + 0x7c], ecx
cmp ecx, eax
je 0xfd43c
cmp ebp, dword [ecx + 0xc]
jb 0xfd43c
lea eax, [esp + 0x7c]
jmp 0xfd444
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov eax, dword [eax]
cmp eax, dword [edi + 0x10]
je 0xfd451
cmp byte [eax + 0x14], 0
jne 0xfd460
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 0xfd4a7
mov eax, dword [esi + 8]
cmp byte [eax + 0x21], 0
jne 0xfd48c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x21], 0
jne 0xfd4a7
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x21], 0
je 0xfd480
jmp 0xfd4a7
mov eax, dword [esi + 4]
cmp byte [eax + 0x21], 0
jne 0xfd4a5
cmp esi, dword [eax + 8]
jne 0xfd4a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x21], 0
je 0xfd495
mov esi, eax
cmp esi, dword [esp + 0x34]
jne 0xfd3e5
jmp 0xfd4b7
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 0xfd4dd
push ecx
call fcn.001f8a36
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.000fe620
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x54]
push eax
call fcn.001f8a36
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.000b4df0
int3