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

Disassembly:
sub esp, 0x74
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x84]
push esi
lea eax, [ebx + 7]
mov edx, dword [ebp + eax*8 + 4]
push edi
mov esi, ecx
mov ecx, dword [ebp + eax*8]
lea edi, [ebp + eax*8]
shrd ecx, edx, 0xf
and ecx, 0xf
shr edx, 0xf
cmp cl, 9
mov dword [esp + 0x14], 1
jne 0x101d6520
mov ecx, dword [edi]
and ecx, 0x7fff
shl eax, 4
cmp ecx, 4
mov edi, dword [eax + ebp]
jne 0x101d6319
shl ebx, 4
mov edx, dword [ebx + ebp + 0x78]
add ebx, ebp
mov ebp, dword [ebx + 0x74]
mov ebx, dword [ebx + 0x7c]
mov dword [esp + 0x1c], edx
jmp 0x101d6321
mov ebp, edi
mov dword [esp + 0x1c], edi
mov ebx, edi
mov eax, dword [esp + 0x98]
mov dword [eax], 4
cmp byte [esi + 0x3c9], 0
mov dword [esp + 0x18], 0
je 0x101d643a
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push ebp
push edi
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.101d3da0
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x18], eax
je 0x101d643a
mov eax, dword [eax + 8]
cmp byte [eax + 0x20], 1
mov dword [esp + 0x28], eax
jne 0x101d643a
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
mov dword [ecx], 0
mov edx, dword [eax + 0x18]
mov dword [edi + 4], edx
mov ecx, dword [eax + 0x1c]
mov dword [edi + 8], ecx
add dword [eax + 0x24], 0xffffffff
jne 0x101d6654
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 0x3cc]
call fcn.100e5ac0
lea eax, [esp + 0x28]
push eax
call fcn.101d4390
mov ebx, dword [edi + 4]
add esp, 4
push ebx
mov ecx, esi
call fcn.101d3e10
test al, al
jne 0x101d6654
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
and edx, 0xff
push edx
mov ecx, esi
call fcn.101e55c0
test al, al
jne 0x101d6417
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0xac], 0
ja 0x101d6417
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x88]
mov dword [ecx], edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x74
ret 0x18
push ebx
lea ecx, [esi + 0x188]
call fcn.100b3290
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x74
ret 0x18
mov edx, dword [esp + 0x94]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.101cf1f0
mov eax, dword [eax]
test al, 1
mov dword [esp + 0x14], eax
je 0x101d647c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
push 1
push ebx
push ecx
push ebp
push edi
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.101d0870
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
and eax, 0xff
push eax
mov ecx, esi
call fcn.101e55c0
test al, al
mov ecx, dword [esp + 0x94]
je 0x101d64ae
mov edx, dword [ecx + 4]
push edx
lea ecx, [esi + 0x188]
call fcn.100b3290
jmp 0x101d64b7
mov eax, dword [esp + 0x9c]
mov dword [eax], ecx
test byte [esp + 0x14], 1
je 0x101d6654
cmp byte [esi + 0x3c9], 0
je 0x101d6654
mov eax, dword [esp + 0x18]
test eax, eax
je 0x101d6654
mov eax, dword [eax + 8]
add dword [eax + 0x24], 0xffffffff
mov dword [esp + 0x28], eax
jne 0x101d6654
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 0x3cc]
call fcn.100e5ac0
lea eax, [esp + 0x28]
push eax
call fcn.101d4390
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x74
ret 0x18
mov ebp, dword [esp + 0x94]
mov dword [ebp + 4], 0xffff0000
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, eax
shrd ecx, edx, 0xf
and ecx, 0xf
shr edx, 0xf
add ecx, 0xffffffff
xor edx, edx
cmp ecx, 8
mov byte [esp + 0x13], 1
ja case.0x101d6552.8
jmp dword [ecx*4 + 0x101d6d70]
push edi
mov ecx, esi
call fcn.101e56e0
test al, al
mov ecx, esi
je 0x101d65b3
push ebp
lea eax, [esp + 0x30]
push eax
call fcn.101cf1f0
mov eax, dword [eax]
test al, 1
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
mov dword [ecx], ebp
je 0x101d65a1
mov edx, dword [esp + 0x8c]
push ebp
push ebx
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.101d47b0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x98]
mov dword [edx], 4
jmp 0x101d6638
mov eax, dword [edi]
and eax, 0x7fff
push eax
push 1
call fcn.101d2df0
add eax, dword [esi + 0xb0]
mov ecx, dword [esp + 0x98]
mov dword [ebp + 4], eax
mov dword [ecx], 4
jmp 0x101d6638
mov eax, dword [esp + 0x98]
mov dword [eax], 4
mov ecx, dword [edi]
mov eax, dword [edi + 4]
shrd ecx, eax, 0x1e
shr eax, 0x1e
test cl, 1
je 0x101d666b
push ebp
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.101cf1f0
mov eax, dword [eax]
test al, 1
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
mov dword [edx], ebp
je 0x101d6638
mov eax, dword [esp + 0x8c]
push ebp
push 2
push 1
push ebx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.101d5280
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x94]
cmp dword [edx + 4], 0xffff0000
jne 0x101d6654
cmp byte [esp + 0x13], 0
je 0x101d6654
and dword [esp + 0x14], 0xfffffffe
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x74
ret 0x18
mov dword [ebp + 4], edx
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
shrd eax, ecx, 0x1f
shr ecx, 0x1f
test al, 1
mov dword [esp + 0x28], edx
je 0x101d66a4
mov edx, dword [edi]
mov eax, dword [esp + 0x8c]
and edx, 0x7fff
add edx, dword [eax + ebx*4 + 0x134]
push edx
jmp 0x101d66ad
mov ecx, dword [edi]
and ecx, 0x7fff
push ecx
mov ecx, esi
push 2
call fcn.101d2df0
cmp eax, dword [esp + 0x28]
jb 0x101d66cb
mov dword [ebp + 4], 0xffff0000
mov dword [esp + 0x14], 2
mov edx, dword [esi + 0x8c]
add edx, eax
mov dword [ebp + 4], edx
mov dword [ebp + 8], 0
jmp 0x101d6638
mov eax, dword [esp + 0x98]
mov dword [eax], 4
mov ecx, dword [edi]
mov eax, dword [edi + 4]
shrd ecx, eax, 0x1e
shr eax, 0x1e
test cl, 1
je 0x101d673b
push ebp
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.101cf1f0
mov eax, dword [eax]
test al, 1
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
mov dword [edx], ebp
je 0x101d6638
mov eax, dword [esp + 0x8c]
push ebp
push 3
push 1
push ebx
push eax
lea ecx, [esp + 0x54]
jmp 0x101d662a
mov dword [ebp + 4], edx
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x10]
mov eax, dword [edi]
mov dword [esp + 0x24], edx
mov edx, dword [edi + 4]
mov edi, dword [edi]
shrd eax, edx, 0x1f
shr edx, 0x1f
and edi, 0x7fff
test al, 1
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx + 8]
je 0x101d67cc
mov eax, dword [esp + 0x8c]
add edi, dword [eax + ebx*4 + 0x134]
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x101d67bc
cmp eax, dword [ecx + 0xc]
jae 0x101d67bc
mov edi, dword [ecx + 8]
mov ecx, eax
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
mov edx, eax
shr edx, 5
test dword [edi + edx*4], ebx
setne cl
test cl, cl
je 0x101d67b8
cmp eax, dword [esp + 0x28]
je 0x101d6824
add dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov edx, eax
add eax, 1
cmp edx, dword [edi + 0xc]
jb 0x101d6786
jmp 0x101d6824
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
lea ebx, [ebx]
test ecx, ecx
je 0x101d6816
cmp eax, dword [ecx + 0xc]
jae 0x101d6816
mov edi, dword [ecx + 8]
mov ecx, eax
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
mov edx, eax
shr edx, 5
test dword [edi + edx*4], ebx
setne cl
test cl, cl
je 0x101d6812
cmp eax, dword [esp + 0x28]
je 0x101d6824
add dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov edx, eax
add eax, 1
cmp edx, dword [edi + 0xc]
jb 0x101d67e0
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jb 0x101d683d
mov dword [ebp + 4], 0xffff0000
mov dword [esp + 0x14], 2
mov ecx, dword [esi + 0x80]
add ecx, eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], 0
jmp 0x101d6638
mov edx, dword [esp + 0x98]
mov byte [esp + 0x13], 0
mov dword [edx], 4
jmp 0x101d6638
cmp byte [esi + 0x2c4], 0
je 0x101d6ce3
mov ecx, dword [edi]
mov ebp, dword [edi]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], edx
mov edx, dword [edi + 4]
shrd ecx, edx, 0x1f
and ebp, 0x7fff
shr edx, 0x1f
test cl, 1
mov dword [esp + 0x20], ebp
je 0x101d68af
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + ebx*4 + 0x134]
mov dword [esp + 0x18], edx
mov ecx, dword [edi]
shrd ecx, eax, 0x1e
shr eax, 0x1e
test cl, 1
je 0x101d691c
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + ebx*8 + 0xe0]
mov eax, dword [eax + ebx*8 + 0xe4]
mov ebp, ecx
shrd ecx, eax, 0x13
and ecx, 0xff
and ebp, 0x7fff
mov dword [esp + 0x24], ecx
push ebp
lea ecx, [esi + 0x334]
shr eax, 0x13
call fcn.1005d3e0
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push ebp
push eax
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call fcn.101d3cf0
mov ecx, dword [esi + 0x2a4]
jmp 0x101d6934
mov edx, dword [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.101d3c60
mov ecx, dword [esi + 0x2a0]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
je 0x101d6638
mov eax, dword [eax + 8]
mov ecx, eax
mov dword [esp + 0x28], eax
call fcn.10124a00
mov edx, dword [esp + 0x20]
mov ebp, eax
mov eax, dword [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.101e5660
cmp byte [ebp + 0x1c], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
jne 0x101d6ae0
cmp byte [ebp + 0x1d], 1
jne 0x101d6aa3
mov ecx, dword [esp + 0x98]
mov dword [ecx], 4
cmp dword [esi + 0x370], 0
jbe 0x101d6ab0
mov edx, dword [ebp + 0x20]
push edx
lea ecx, [esi + 0x350]
call fcn.1005d3e0
test eax, eax
jbe 0x101d6ab0
push ebp
mov ecx, esi
call fcn.101d5340
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
push edx
lea eax, [esp + 0x54]
mov dword [ecx], 4
push eax
mov ecx, esi
mov dword [esp + 0x24], 1
call fcn.101cf1f0
mov eax, dword [eax]
test al, 1
mov dword [esp + 0x14], eax
je 0x101d6a1f
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x8c]
push eax
push ebx
mov dword [ecx], eax
push edx
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.101d2ec0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x94]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x20]
add dword [edx + ecx*4], 0xffffffff
lea eax, [edx + ecx*4]
mov eax, dword [ebp + 0x18]
cmp dword [eax + ecx*4], 0
lea eax, [eax + ecx*4]
jne 0x101d6c99
cmp dword [esp + 0x1c], 0
jne 0x101d6c75
mov edx, dword [edi]
mov edi, dword [edi + 4]
shrd edx, edi, 0x1e
shr edi, 0x1e
test dl, 1
je 0x101d6bbe
lea eax, [esi + 0x1c8]
cmp dword [esi + 0x1d4], eax
jne 0x101d6c52
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
and edx, 0xff
push edx
mov ecx, esi
call fcn.101e55c0
test al, al
jne 0x101d6c52
mov eax, dword [esp + 0x9c]
mov dword [eax], ebx
jmp 0x101d6c99
mov eax, dword [esp + 0x98]
mov dword [eax], 0
mov ecx, dword [esp + 0x18]
push ebp
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call fcn.101d0280
mov edx, dword [eax]
mov ebx, dword [esp + 0x94]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
jmp 0x101d6a26
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0xa8], 0
jne 0x101d69c0
cmp dword [eax + 0xac], 0
jne 0x101d69c0
push ebp
mov ecx, esi
call fcn.101d3e60
mov ecx, dword [edi]
mov edx, dword [edi + 4]
shrd ecx, edx, 0x1e
shr edx, 0x1e
test cl, 1
je 0x101d6b25
mov ecx, dword [esp + 0x98]
mov dword [ecx], 4
jmp 0x101d6b37
mov edx, dword [esp + 0x98]
add eax, 1
shr eax, 1
mov dword [edx], 0
mov ecx, dword [0x1021622c]
mov edx, dword [0x10216230]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x10216234]
mov dword [esp + 0x64], edx
push eax
lea edx, [esp + 0x64]
mov dword [esp + 0x6c], ecx
push edx
mov ecx, esi
call fcn.101d0520
test al, al
je 0x101d69c0
lea eax, [esp + 0x60]
push eax
push ebp
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.101d53b0
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
push ebp
mov dword [esp + 0x18], edx
push ecx
lea edx, [esp + 0x80]
push edx
mov ecx, esi
mov byte [ebp + 0x1c], 1
mov dword [ebp + 0x10], eax
call fcn.101d0280
mov edx, dword [eax]
mov ecx, dword [esp + 0x94]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
jmp 0x101d6a1f
mov edx, dword [ebx + 8]
test edx, edx
jne 0x101d6c0f
add ecx, 1
cmp ecx, dword [esi + 0x2a0]
jae 0x101d6c0f
cmp dword [eax + 4], edx
jne 0x101d6c99
lea ecx, [esi + 0x1c8]
cmp dword [esi + 0x1d4], ecx
jne 0x101d6c52
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
and eax, 0xff
push eax
mov ecx, esi
call fcn.101e55c0
test al, al
jne 0x101d6c52
mov ecx, dword [esp + 0x9c]
mov dword [ecx], ebx
jmp 0x101d6c99
cmp edx, 4
jne 0x101d6c99
cmp dword [eax - 4], 0
jne 0x101d6c99
lea edx, [esi + 0x1c8]
cmp dword [esi + 0x1d4], edx
jne 0x101d6c52
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
and ecx, 0xff
push ecx
mov ecx, esi
call fcn.101e55c0
test al, al
jne 0x101d6c52
mov edx, dword [esp + 0x9c]
mov dword [edx], ebx
jmp 0x101d6c99
mov eax, dword [ebx + 4]
push eax
lea ecx, [esi + 0x188]
call fcn.100b3290
test al, al
jne 0x101d6c99
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffe
or ecx, 8
mov dword [esp + 0x14], ecx
jmp 0x101d6c99
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 4]
not edx
and dword [ebp + 0xc], edx
cmp ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
jne 0x101d6c99
test eax, eax
je 0x101d6c99
push ebp
mov ecx, esi
call fcn.101d0770
push ebp
mov ecx, esi
call fcn.101d0470
test al, al
jne 0x101d6638
cmp byte [ebp + 0x1c], al
je 0x101d6cc1
push ebp
mov ecx, esi
call fcn.101d3e60
test eax, eax
jbe 0x101d6cc1
push eax
push ebp
call fcn.101d0690
lea edx, [esp + 0x24]
push edx
lea ecx, [esi + 0x230]
call fcn.100e5ac0
lea eax, [esp + 0x28]
push eax
call fcn.10124a90
add esp, 4
jmp 0x101d6638
mov ecx, dword [esp + 0x98]
push ebp
lea edx, [esp + 0x5c]
mov dword [ecx], 4
push edx
mov ecx, esi
call fcn.101cf1f0
mov eax, dword [eax]
test al, 1
mov dword [esp + 0x14], eax
je 0x101d6638
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x9c]
push ebp
push ebx
push ecx
lea edx, [esp + 0x68]
push edx
mov ecx, esi
mov dword [eax], ebp
call fcn.101d2ec0
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jmp 0x101d6638
mov ecx, dword [edi]
mov eax, dword [esi + 0x74]
shr ecx, 1
and ecx, 0x3fff
sub ecx, dword [esi + 0x24]
lea ecx, [ecx + eax + 1]
mov dword [ebp + 4], ecx
mov eax, dword [edi]
mov ecx, dword [esp + 0x98]
and eax, 1
add eax, eax
add eax, eax
mov dword [ebp + 8], eax
mov dword [ecx], edx
jmp 0x101d6638
mov byte [esp + 0x13], 0
jmp 0x101d6638