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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0xc]
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 0x18]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 1], cl
mov byte [ebp + 0xb], cl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
push edi
mov dword [ebp - 0xc], edx
lea eax, [ebx + 0x38]
inc ecx
lock xadd dword [eax], ecx
inc ecx
mov eax, dword [ebx + 0x30]
cmp byte [eax + 0x78], 0
je 0x8313b733
cmp ecx, 2
jle 0x8313b733
xor ecx, ecx
cmp word [eax + 6], cx
jbe 0x8313b6e5
xor eax, 0xfffffff8
jmp 0x8313b6e7
mov eax, ecx
push eax
push 0x82fcf714
push 0x15
push 2
push edx
push 0xd
pop ecx
call fcn.83141e64
mov edi, 0xc0000022
mov dword [ebp - 8], edi
mov edx, ebx
call fcn.8313a307
xor eax, eax
xor dl, dl
mov ecx, esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
call dword [0x82fcf004]
mov esi, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x8313b72a
call dword [0x82fcf07c]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
xor eax, eax
push 8
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebx + 0x3c]
mov dword [ebp - 0x44], 0x20
cmp dword [eax], eax
je 0x8313b778
mov ecx, dword [ebx + 0x40]
lea esi, [ecx + 0x2c]
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp dword [esi], eax
je 0x8313b769
push 8
pop ecx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x50]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea edx, [ebp - 0x10]
push edx
push dword [ebp - 0x24]
lea edx, [ebp - 0x44]
push edx
push eax
push esi
push ecx
call fcn.8313aaf8
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
jns 0x8313b7ca
mov eax, dword [ebx + 0x30]
xor ecx, ecx
cmp word [eax + 6], cx
jbe 0x8313b7ad
xor eax, 0xfffffff8
jmp 0x8313b7af
mov eax, ecx
push edi
push eax
push 0x82fcf714
push 0x16
push 2
push dword [ebp - 0xc]
push 0xd
pop ecx
call fcn.831530f3
jmp 0x8313ba9a
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x8313b8a2
xor eax, eax
cmp word [edx + 6], ax
jbe 0x8313b7e7
mov edi, edx
xor edi, 0xfffffff8
mov dword [ebp - 0x1c], edi
jmp 0x8313b7ea
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 4]
lea ecx, [ebx + 0x3c]
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x8313b8a5
push 8
lea esi, [eax + 0x2c]
pop ecx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x44], 0
mov dword [ebp - 0x14], eax
je 0x8313b83a
xor eax, eax
xor ecx, ecx
inc ecx
push eax
push ecx
mov dword [ebp - 0x30], eax
push edx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
call fcn.8315f061
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
js 0x8313b84c
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 4]
lea ecx, [ebx + 0x3c]
mov dword [ebp - 0x20], eax
cmp eax, ecx
jne 0x8313b7fe
mov esi, dword [ebp + 0xc]
jmp 0x8313b8a5
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x54]
test eax, eax
je 0x8313b85b
mov eax, dword [eax + 8]
jmp 0x8313b861
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x40]
xor ecx, ecx
cmp word [eax + 6], cx
jbe 0x8313b86e
xor eax, 0xfffffff8
jmp 0x8313b870
mov eax, ecx
mov ecx, dword [ebx + 0x30]
xor esi, esi
cmp word [ecx + 6], si
jbe 0x8313b880
xor ecx, 0xfffffff8
jmp 0x8313b882
mov ecx, esi
push edi
push eax
push ecx
lea eax, [edx + 0x2c]
push eax
push 0x82fcf714
push 0x17
push 2
push dword [ebp - 0xc]
push 0xd
pop ecx
call fcn.83146dd1
jmp 0x8313ba97
lea ecx, [ebx + 0x3c]
xor edx, edx
cmp dword [ebx + 0x48], edx
jne 0x8313b8eb
test byte [ebx + 0x4c], 0xc
jne 0x8313b8eb
mov eax, dword [ebx + 0x30]
cmp byte [eax + 0x99], dl
je 0x8313b8d1
push ebx
push 0x82f72875
push esi
push ebx
call fcn.8313e40c
mov esi, eax
jmp 0x8313b72a
mov eax, dword [ebp + 0xc]
mov esi, edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
xor dl, dl
mov ecx, eax
call dword [0x82fcf004]
jmp 0x8313b72a
cmp dword [ecx], ecx
push 8
mov edi, 0x134
pop ecx
je 0x8313b90a
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x14], eax
cmp byte [eax + 0x50], dl
je 0x8313b90a
mov esi, dword [eax + 0x54]
add esi, 0x10
jmp 0x8313b90f
mov esi, dword [ebx + 0x30]
add esi, edi
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x30]
lea eax, [ecx + 0xcc]
cmp dword [eax], eax
je 0x8313b932
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push ecx
call fcn.83135851
mov esi, dword [ebp - 0x18]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
jns 0x8313b97c
mov eax, dword [ebx + 0x30]
xor ecx, ecx
cmp word [eax + 6], cx
jbe 0x8313b95f
xor eax, 0xfffffff8
jmp 0x8313b961
mov eax, ecx
push edi
push eax
push 0x82fcf714
push 0x18
push 2
push dword [ebp - 0xc]
push 0xd
pop ecx
call fcn.831530f3
jmp 0x8313ba8c
mov eax, dword [ebx + 0x40]
jmp 0x8313b9d1
cmp byte [eax + 0x50], 0
push 8
mov dword [ebp - 0x14], eax
lea edi, [ebp - 0x44]
pop ecx
je 0x8313b998
mov esi, dword [eax + 0x54]
add esi, 0x10
jmp 0x8313b9a1
mov esi, dword [ebx + 0x30]
add esi, 0x134
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x44], 0
mov esi, dword [ebp - 0x18]
je 0x8313b9d1
xor eax, eax
xor ecx, ecx
inc ecx
push eax
push ecx
mov dword [ebp - 0x30], eax
push esi
lea eax, [ebp - 0x44]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
call fcn.8315f061
mov edi, eax
mov dword [ebp - 8], eax
test edi, edi
js 0x8313ba31
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
lea ecx, [ebx + 0x3c]
mov dword [ebp - 0x20], eax
cmp eax, ecx
jne 0x8313b981
mov edi, dword [0x82fcf2dc]
call edi
cmp al, 1
ja 0x8313b9f4
call dword [0x82fcf088]
mov byte [ebp - 1], 1
test byte [ebx + 0x4c], 4
jne 0x8313ba05
xor edx, edx
cmp dword [ebx + 0x48], edx
jne 0x8313bb67
cmp dword [ebx + 0x50], 2
jne 0x8313bb08
call edi
cmp al, 2
jb 0x8313bb08
mov edi, 0xc0000010
mov dword [ebp - 8], edi
mov eax, dword [ebx + 0x30]
xor ecx, ecx
cmp word [eax + 6], cx
jbe 0x8313ba71
xor eax, 0xfffffff8
jmp 0x8313ba73
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x8313ba40
mov eax, dword [eax + 8]
jmp 0x8313ba46
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x40]
xor edx, edx
cmp word [eax + 6], dx
jbe 0x8313ba53
xor eax, 0xfffffff8
jmp 0x8313ba55
mov eax, edx
mov ecx, dword [ebx + 0x30]
cmp word [ecx + 6], dx
jbe 0x8313ba63
xor ecx, 0xfffffff8
jmp 0x8313ba65
mov ecx, edx
push edi
push eax
push ecx
push 0x82fcf714
push 0x19
jmp 0x8313ba7f
mov eax, ecx
push edi
push dword [ebp + 0xc]
push eax
push 0x82fcf714
push 0x1a
push 2
push dword [ebp - 0xc]
push 0xd
pop ecx
call fcn.83148bf8
test esi, esi
je 0x8313ba97
mov edx, esi
call fcn.831445d6
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x8313b702
mov ecx, dword [eax + 0x30]
lea edi, [ebp + 0xc]
call fcn.831359bc
mov edi, dword [ebp - 0x10]
lea eax, [edi + 0x44]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
cmp dword [edx + 4], eax
jne 0x8313bb03
cmp dword [ecx], eax
jne 0x8313bb03
mov dword [ecx], edx
mov dword [edx + 4], ecx
mov ecx, dword [edi + 0x30]
mov al, byte [ecx + 0x10]
shr al, 7
test al, 1
je 0x8313bae8
mov eax, dword [ecx - 0x14]
test eax, eax
je 0x8313bae8
push dword [ebp + 0xc]
push eax
call fcn.83188117
jmp 0x8313baf4
mov dl, byte [ebp + 0xc]
add ecx, 0x34
call dword [0x82fcf2d8]
mov edx, edi
call fcn.831445d6
mov edi, dword [ebp - 8]
jmp 0x8313b702
push 3
pop ecx
int 0x29
push esi
push dword [ebx + 0x44]
call fcn.83139d93
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
jns 0x8313bb47
mov eax, dword [ebx + 0x44]
xor ecx, ecx
cmp word [eax + 6], cx
jbe 0x8313bb2a
xor eax, 0xfffffff8
jmp 0x8313bb2c
mov eax, ecx
push edi
push eax
push 0x82fcf714
push 0x1b
push 2
push dword [ebp - 0xc]
push 0xd
pop ecx
call fcn.831530f3
jmp 0x8313b71b
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push dword [ebp - 0x24]
push dword [ebx + 0x44]
call fcn.8315601e
test eax, eax
js 0x8313bd35
mov byte [ebp + 0xb], 1
xor edx, edx
test byte [ebx + 0x4c], 4
je 0x8313bc0b
mov edi, dword [ebx + 0x40]
jmp 0x8313bc00
cmp byte [edi + 0x50], 0
mov dword [ebp - 0x14], edi
je 0x8313bc0b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x8313bb93
mov eax, dword [edi + 4]
mov dword [ecx + 0x40], eax
cmp word [esi + 6], dx
jbe 0x8313bba3
mov ecx, esi
xor ecx, 0xfffffff8
mov dword [ebp - 0x24], ecx
jmp 0x8313bba6
mov dword [ebp - 0x24], edx
mov eax, dword [ebx + 0x30]
cmp word [eax + 6], dx
jbe 0x8313bbb7
xor eax, 0xfffffff8
mov dword [ebp - 0x20], eax
jmp 0x8313bbba
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x14], edx
je 0x8313bbfd
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x18], dl
test ecx, ecx
je 0x8313bbd2
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
call dword [eax + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 2], al
test ecx, ecx
je 0x8313bbf3
push dword [ebp - 0x18]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov al, byte [ebp - 2]
test al, al
jne 0x8313bd35
xor edx, edx
mov edi, dword [edi + 4]
lea eax, [ebx + 0x3c]
cmp edi, eax
jne 0x8313bb79
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x8313bce0
cmp byte [ebp + 0xb], 0
push esi
push eax
je 0x8313bcae
mov edi, dword [ebx + 0x44]
call fcn.8318b7a7
mov edi, eax
test edi, edi
jns 0x8313bd35
mov ecx, dword [ebx + 0x48]
xor eax, eax
cmp word [ecx + 6], ax
jbe 0x8313bc44
xor ecx, 0xfffffff8
jmp 0x8313bc46
mov ecx, eax
push edi
push ecx
push 0x82fcf714
push 0x1c
push 2
push dword [ebp - 0xc]
push 0xd
pop ecx
call fcn.831530f3
mov ebx, dword [esi + 0x30]
mov edx, dword [esi + 0xc]
cmp byte [edx + 0xac], 0
je 0x8313bc91
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x1c]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp word [esi + 6], ax
jbe 0x8313bc81
mov eax, esi
xor eax, 0xfffffff8
push edi
push 0
push dword [ebp + 0xc]
push ecx
push eax
push 0xb
push edx
call fcn.83177cfc
test ebx, ebx
je 0x8313bc9a
mov al, byte [ebx + 0x7b]
jmp 0x8313bc9c
xor eax, eax
mov byte [esi + 0x84], al
push edi
push esi
call fcn.83135376
jmp 0x8313bd35
call fcn.83139d93
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
jns 0x8313b71b
mov eax, dword [ebx + 0x48]
xor ecx, ecx
cmp word [eax + 6], cx
jbe 0x8313bcd0
xor eax, 0xfffffff8
jmp 0x8313bcd2
mov eax, ecx
push edi
push eax
push 0x82fcf714
push 0x1d
jmp 0x8313bb35
test byte [ebx + 0x4c], 8
je 0x8313bd3f
cmp word [esi + 6], dx
jbe 0x8313bcf1
xor esi, 0xfffffff8
jmp 0x8313bcf3
mov esi, edx
mov edi, dword [ebx + 0x30]
cmp word [edi + 6], dx
jbe 0x8313bd01
xor edi, 0xfffffff8
jmp 0x8313bd03
mov edi, edx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0xc], edx
je 0x8313bd35
mov ecx, dword [ebx + 8]
mov byte [ebp + 0xc], dl
test ecx, ecx
je 0x8313bd1e
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
call dword [eax + 8]
push dword [ebp - 0x1c]
push esi
push edi
call dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x8313bd35
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, 0x103
jmp 0x8313b71e
mov eax, dword [ebx + 0x30]
cmp byte [eax + 0x99], 0
je 0x8313bd5c
push esi
push 0x82fb2262
push dword [ebp + 0xc]
push ebx
call fcn.8313e40c
jmp 0x8313bd35
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0xac], 0
je 0x8313bd8d
mov edx, dword [esi + 0x48]
mov ebx, dword [edx + 0x1c]
xor eax, eax
cmp word [esi + 6], ax
jbe 0x8313bd7e
mov eax, esi
xor eax, 0xfffffff8
push 0
push 0
push ebx
push edx
push eax
push 0xb
push ecx
call fcn.83177cfc
test edi, edi
je 0x8313bd9e
mov al, byte [edi + 0x7b]
mov byte [esi + 0x84], al
xor eax, eax
jmp 0x8313bda6
xor eax, eax
mov byte [esi + 0x84], al
push eax
jmp 0x8313bca3