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

Disassembly:
sub esp, 0xb0
mov eax, dword [esp + 0xb8]
push esi
push edi
xor edi, edi
shr eax, 3
or esi, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], edi
cmp dword [esp + 0xc8], eax
jb 0x1001bb4c
cmp dword [esp + 0xcc], edi
je 0x1001bb4c
cmp dword [esp + 0xd0], edi
je 0x1001bb4c
push ebx
push 0x800
call sub.nss3.dll_PORT_NewArena_Util
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x1001b32f
push 0xffffe013
call sub.nss3.dll_PORT_SetError_Util
add esp, 4
pop ebx
pop edi
or eax, esi
pop esi
add esp, 0xb0
ret
push ebp
push 0x28
push ebx
call sub.nss3.dll_PORT_ArenaZAlloc_Util
mov ebp, eax
add esp, 8
mov dword [esp + 0x60], ebp
cmp ebp, edi
jne 0x1001b368
push 0xffffe013
call sub.nss3.dll_PORT_SetError_Util
push 1
push ebx
call sub.nss3.dll_PORT_FreeArena_Util
add esp, 0xc
pop ebp
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0xb0
ret
push 0x800
mov dword [ebp], ebx
call sub.nss3.dll_PORT_NewArena_Util
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x1001b390
push 0xffffe013
call sub.nss3.dll_PORT_SetError_Util
mov ecx, dword [ebp]
push 1
push ecx
jmp 0x1001b352
push 0x20
push ebx
call sub.nss3.dll_PORT_ArenaZAlloc_Util
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x1001b3d1
push 0xffffe013
call sub.nss3.dll_PORT_SetError_Util
push 1
push ebx
call sub.nss3.dll_PORT_FreeArena_Util
mov edx, dword [ebp]
push 1
push edx
call sub.nss3.dll_PORT_FreeArena_Util
add esp, 0x14
pop ebp
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0xb0
ret
mov dword [eax], ebx
lea ebx, [eax + 8]
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xc0], edi
call fcn.1002a460
mov ebp, eax
add esp, 4
cmp ebp, edi
jl 0x1001ba3e
lea ecx, [esp + 0x44]
push ecx
call fcn.1002a460
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x1001ba3e
lea edx, [esp + 0x90]
push edx
call fcn.1002a460
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x1001ba3e
lea eax, [esp + 0x80]
push eax
call fcn.1002a460
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x1001ba3e
lea ecx, [esp + 0xa0]
push ecx
call fcn.1002a460
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x1001ba3e
lea edx, [esp + 0xb0]
push edx
call fcn.1002a460
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x1001ba3e
mov edi, dword [esp + 0xc8]
mov eax, edi
call fcn.10019380
push eax
mov dword [esp + 0x18], eax
call fcn.10008790
add esp, 4
test eax, eax
jne 0x1001b4b3
xor ecx, ecx
jmp 0x1001b4b5
mov ecx, dword [eax]
mov eax, dword [esp + 0xc4]
add ecx, ecx
add ecx, ecx
dec eax
add ecx, ecx
xor edx, edx
div ecx
mov dword [esp + 0x34], eax
jmp 0x1001b4d0
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0x3e8
jg 0x1001b6a5
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x10]
mov dword [ebx + 8], edx
mov ecx, dword [eax]
mov eax, ebx
call fcn.10019570
mov esi, eax
test esi, esi
jne 0x1001ba3e
mov eax, dword [esp + 0xcc]
test eax, eax
jne 0x1001b52c
mov eax, dword [esp + 0xd0]
add eax, eax
lea ecx, [esp + 0x44]
add eax, eax
push ecx
add eax, eax
push eax
mov esi, ebx
call fcn.100198c0
jmp 0x1001b546
cmp eax, 1
jne 0x1001b6b7
mov edx, dword [esp + 0x14]
push edi
push edx
lea ecx, [esp + 0x4c]
mov edx, ebx
call fcn.10019a80
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001ba3e
mov eax, dword [esp + 0xc4]
push edi
push eax
call fcn.10019300
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.10026710
add esp, 0x10
mov ebp, eax
neg eax
sbb eax, eax
mov dword [esp + 0x2c], eax
jne 0x1001b4d0
mov edi, dword [esp + 0xcc]
mov eax, dword [esp + 0xc4]
neg edi
sbb edi, edi
add edi, 2
cmp eax, 0x400
jb 0x1001b5a8
lea edx, [eax*4 - 1]
mov dword [esp + 0x30], edx
jmp 0x1001b5b0
mov dword [esp + 0x30], 0xfff
mov dword [esp + 0x18], 0
jmp 0x1001b5c0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x14]
add eax, eax
add eax, eax
push ebx
add eax, eax
push eax
mov eax, dword [esp + 0xcc]
push edi
push eax
push ecx
lea edx, [esp + 0x78]
lea ecx, [esp + 0x58]
call fcn.1001a9c0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x1001ba3e
mov eax, dword [esp + 0xc4]
push 1
dec eax
push eax
lea edx, [esp + 0xa8]
push edx
call fcn.10028fc0
mov ebp, eax
add esp, 0xc
test ebp, ebp
js 0x1001ba3e
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.1002aab0
add esp, 8
test eax, eax
js 0x1001b664
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
push edx
push eax
call fcn.10019300
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.10026710
add esp, 0x10
mov ebp, eax
neg eax
sbb eax, eax
mov dword [esp + 0x2c], eax
je 0x1001b68b
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
inc eax
lea edi, [edi + edx + 1]
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x30]
jbe 0x1001b5c0
mov edi, dword [esp + 0xc8]
jmp 0x1001b4d0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x18], eax
jbe 0x1001b7e7
mov edi, dword [esp + 0xc8]
jmp 0x1001b4d0
push 0xffffe03f
call sub.nss3.dll_PORT_SetError_Util
add esp, 4
jmp 0x1001ba3e
mov ecx, dword [ebx]
mov dword [esp + 0x20], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
push edx
mov dword [esp + 0x4c], 0
call fcn.1001a330
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1001ba3e
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0xcc]
inc ecx
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x60]
shr ecx, 1
push eax
inc ecx
push ecx
push edi
call fcn.1001a330
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1001ba3e
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0xd0]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xc0]
push eax
push ecx
push edi
call fcn.10019be0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1001ba3e
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x28]
push eax
mov dword [ebx + 8], eax
mov eax, dword [edx]
push eax
call sub.nss3.dll_PORT_ArenaZAlloc_Util
add esp, 8
mov dword [ebx + 4], eax
test eax, eax
je 0x1001ba3e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x4c]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x48]
add edx, dword [esp + 0x34]
push eax
push ecx
push edx
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x74]
add edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x70]
add edx, dword [esp + 0x40]
push eax
push ecx
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0x24
mov dword [esp + 0x18], esi
cmp dword [esp + 0xcc], 0
jne 0x1001b8cf
mov eax, dword [esp + 0xc4]
shr eax, 3
push eax
lea eax, [esp + 0x78]
push eax
push 0
call sub.nss3.dll_SECITEM_AllocItem_Util
add esp, 0xc
cmp dword [esp + 0x78], 0
je 0x1001ba3e
lea ebx, [ebx]
lea ecx, [esp + 0x80]
push ecx
lea esi, [esp + 0x78]
call fcn.100195c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001ba3e
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edi, [esp + 0x8c]
lea ebx, [esp + 0x70]
call fcn.1001ae30
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1001ba3e
cmp dword [esp + 0x2c], 1
jne 0x1001b820
mov edx, edi
push edx
call fcn.1002a290
add esp, 4
test eax, eax
jg 0x1001b88b
lea ebp, [esi - 3]
jmp 0x1001ba3e
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx]
push eax
lea eax, [ebx + 0x14]
push eax
push ecx
call sub.nss3.dll_SECITEM_AllocItem_Util
mov eax, dword [ebx + 0x18]
add esp, 0xc
test eax, eax
jne 0x1001b8ae
lea ebp, [eax - 2]
jmp 0x1001ba3e
mov edx, dword [ebx + 0x1c]
push edx
push eax
lea eax, [esp + 0x88]
push eax
call fcn.1002a300
mov ebp, eax
add esp, 0xc
test ebp, ebp
js 0x1001ba3e
jmp 0x1001b925
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
push 1
push ecx
call sub.nss3.dll_PORT_ArenaZAlloc_Util
add esp, 8
mov dword [edi + 0x18], eax
test eax, eax
je 0x1001ba3e
mov edx, edi
mov dword [edx + 0x1c], 1
mov edx, dword [esp + 0x14]
mov byte [eax], 1
push 1
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x6c]
push ecx
push edx
lea edx, [esp + 0xa0]
mov ecx, ebx
call fcn.1001afd0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1001ba3e
mov ebx, edi
lea eax, [esp + 0x64]
push eax
call fcn.1002a290
add esp, 4
test eax, eax
jg 0x1001b940
mov ebp, 0xfffffffd
jmp 0x1001ba3e
mov edi, dword [esp + 0x60]
mov edx, dword [edi]
push eax
lea ecx, [edi + 4]
push ecx
push edx
call sub.nss3.dll_SECITEM_AllocItem_Util
mov eax, dword [edi + 8]
add esp, 0xc
test eax, eax
jne 0x1001b963
lea ebp, [eax - 2]
jmp 0x1001ba3e
mov ecx, dword [edi + 0xc]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.1002a300
mov ebp, eax
add esp, 0xc
test ebp, ebp
js 0x1001ba3e
lea eax, [esp + 0x44]
push eax
call fcn.1002a290
add esp, 4
test eax, eax
jg 0x1001b99a
mov ebp, 0xfffffffd
jmp 0x1001ba3e
mov edx, dword [edi]
push eax
lea ecx, [edi + 0x10]
push ecx
push edx
call sub.nss3.dll_SECITEM_AllocItem_Util
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
jne 0x1001b9b9
lea ebp, [eax - 2]
jmp 0x1001ba3e
mov ecx, dword [edi + 0x18]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.1002a300
mov ebp, eax
add esp, 0xc
test ebp, ebp
js 0x1001ba3e
lea eax, [esp + 0x90]
push eax
call fcn.1002a290
add esp, 4
test eax, eax
jg 0x1001b9ec
mov ebp, 0xfffffffd
jmp 0x1001ba3e
mov edx, dword [edi]
push eax
lea ecx, [edi + 0x1c]
push ecx
push edx
call sub.nss3.dll_SECITEM_AllocItem_Util
mov eax, dword [edi + 0x20]
add esp, 0xc
test eax, eax
jne 0x1001ba08
lea ebp, [eax - 2]
jmp 0x1001ba3e
mov ecx, dword [edi + 0x24]
push ecx
push eax
lea edx, [esp + 0x98]
push edx
call fcn.1002a300
mov ebp, eax
add esp, 0xc
test ebp, ebp
js 0x1001ba3e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
mov dword [ebx + 4], eax
mov dword [ecx], edi
xor ebp, ebp
mov dword [edx], ebx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1001ba4f
push eax
call sub.nss3.dll_PORT_Free_Util
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1001ba60
push eax
call sub.nss3.dll_PORT_Free_Util
add esp, 4
lea eax, [esp + 0x64]
push eax
call fcn.10029320
lea ecx, [esp + 0x48]
push ecx
call fcn.10029320
lea edx, [esp + 0x98]
push edx
call fcn.10029320
lea eax, [esp + 0x8c]
push eax
call fcn.10029320
lea ecx, [esp + 0xb0]
push ecx
call fcn.10029320
lea edx, [esp + 0xc4]
push edx
call fcn.10029320
add esp, 0x18
test ebp, ebp
je 0x1001bb06
cmp ebp, 0xfffffffc
je 0x1001baf4
cmp ebp, 0xfffffffd
je 0x1001bae2
cmp ebp, 0xfffffffe
je 0x1001bad0
push 0xffffe001
call sub.nss3.dll_PORT_SetError_Util
add esp, 4
or esi, 0xffffffff
jmp 0x1001bb0a
push 0xffffe013
call sub.nss3.dll_PORT_SetError_Util
add esp, 4
or esi, 0xffffffff
jmp 0x1001bb0a
push 0xffffe002
call sub.nss3.dll_PORT_SetError_Util
add esp, 4
or esi, 0xffffffff
jmp 0x1001bb0a
push 0xffffe005
call sub.nss3.dll_PORT_SetError_Util
add esp, 4
or esi, 0xffffffff
jmp 0x1001bb0a
test esi, esi
je 0x1001bb29
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
push 1
push ecx
call sub.nss3.dll_PORT_FreeArena_Util
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push 1
push eax
call sub.nss3.dll_PORT_FreeArena_Util
add esp, 0x10
cmp dword [esp + 0x78], 0
je 0x1001bb3f
lea ecx, [esp + 0x74]
push 0
push ecx
call sub.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0xb0
ret
push 0xffffe005
call sub.nss3.dll_PORT_SetError_Util
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
add esp, 0xb0
ret