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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 0x84]
mov ebx, dword [eax + 0x54]
mov edx, dword [ebx + 0x9c]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [esi + 8]
or ecx, 0x2000
mov dword [ebp - 0x34], edx
mov edx, dword [ebp + 0x10]
push ecx
push edx
push eax
call fcn.100b6bb0
add esp, 0xc
test eax, eax
jne 0x100f4e2a
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 8]
mov byte [esi + 0x88], cl
test cl, cl
je 0x100f464b
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x8c], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x90], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x94], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x98], edx
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x9c], ecx
mov edx, dword [eax + 0x20]
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x4c], ecx
mov dword [esi + 0xa0], edx
mov edx, dword [esi + 0x94]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x98]
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
call fcn.100b3110
lea edx, [ebp - 0x50]
push edx
lea eax, [esi + 0x9c]
push eax
call fcn.100b4850
add esp, 0xc
mov eax, dword [ebx + 0x48]
cmp eax, 0x636f6d70
je 0x100f4af7
cmp eax, 0x6f75746c
je 0x100f4817
mov dword [ebp - 4], 7
cmp dword [ebp + 0x18], 0
jne 0x100f4e27
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebp + 8]
sub ecx, dword [ebx + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp + 0x14], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp + 0x14], eax
cmp byte [esi + 0x88], 0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], ecx
je 0x100f4717
lea eax, [esi + 0x8c]
push eax
lea edx, [edi + 0x14]
push edx
call fcn.100b4950
lea eax, [esi + 0x8c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100b4850
add esp, 0x10
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x100f4732
push 0
neg eax
push eax
lea ecx, [edi + 0x14]
push ecx
call fcn.100b4810
add esp, 0xc
lea edx, [ebp - 0x50]
push edx
lea eax, [edi + 0x14]
push eax
call fcn.100b4790
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
and dword [ebp - 0x4c], 0xffffffc0
add eax, 0x3f
and eax, 0xffffffc0
and edx, 0xffffffc0
mov dword [ebp - 0x48], eax
sub eax, edx
add ecx, 0x3f
and ecx, 0xffffffc0
mov dword [ebx + 0x18], eax
mov eax, ecx
sub eax, dword [ebp - 0x4c]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], ecx
mov dword [ebp - 0x50], edx
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], ecx
add ecx, dword [ebp - 0x28]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
and edx, 0xffffffc0
and ecx, 0xffffffc0
add esp, 8
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], ecx
cmp dword [eax + 0x14], 1
je 0x100f4d73
mov ecx, dword [ebx + 4]
test byte [ecx + 8], 4
jne 0x100f47cc
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 4]
jae 0x100f4d73
mov edx, dword [eax + 8]
mov al, byte [ecx + edx]
and al, 0x80
je 0x100f4d73
mov eax, dword [ebp + 8]
cmp byte [eax + 0x20], 0
je 0x100f4d73
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
jmp 0x100f4d88
cmp byte [esi + 0x88], 0
je 0x100f483a
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
lea edx, [ebx + 0x6c]
push edx
call fcn.100b4810
add esp, 0xc
movsx eax, word [ebx + 0x6e]
lea ecx, [eax + 4]
mov dword [ebp + 0x14], ecx
test ecx, ecx
je 0x100f485b
movsx ecx, word [edi + 0x3a]
movsx edx, word [edi + 0x16]
add ecx, eax
lea eax, [edx + ecx + 4]
cmp eax, dword [edi + 4]
ja 0x100f487e
movzx eax, word [ebx + 0x6c]
test ax, ax
je 0x100f4a46
movsx ecx, word [edi + 0x38]
movsx edx, word [edi + 0x14]
cwde
add ecx, edx
add ecx, eax
cmp ecx, dword [edi + 8]
jbe 0x100f4a46
movsx ecx, word [ebx + 0x6c]
mov edx, dword [ebp + 0x14]
push ecx
push edx
push edi
call fcn.100b8460
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x100f4e2a
movsx eax, word [ebx + 0x6e]
mov ecx, dword [ebx + 0x70]
mov edx, dword [edi + 0x3c]
add eax, eax
add eax, eax
add eax, eax
push eax
push ecx
push edx
call fcn.10230070
movsx eax, word [ebx + 0x6c]
mov ecx, dword [ebx + 0x78]
mov edx, dword [edi + 0x44]
add eax, eax
push eax
push ecx
push edx
call fcn.10230070
movsx eax, word [ebx + 0x6e]
mov ecx, dword [ebx + 0x74]
mov edx, dword [edi + 0x40]
push eax
push ecx
push edx
call fcn.10230070
mov ax, word [ebx + 0x6e]
mov word [edi + 0x3a], ax
mov cx, word [ebx + 0x6c]
mov word [edi + 0x38], cx
mov edx, dword [esi + 0x14]
mov dword [esi + 0xa4], edx
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xa8], eax
mov ecx, dword [esi + 0x10]
mov edx, dword [ebx + 0x28]
add esp, 0x24
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp + 0x14], eax
mov ecx, dword [esi + 0x14]
add ecx, dword [ebp + 0x14]
lea eax, [esi + 0xc]
mov dword [esi + 0xac], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0xb0], edx
cmp word [ebx + 0x6e], 0
je 0x100f466b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
test edx, edx
je 0x100f4967
push ecx
lea ecx, [edi + 0x38]
push ecx
push eax
call edx
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 1
je 0x100f4a9e
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
lea edx, [ecx + ecx*2]
add edx, edx
lea edx, [eax + edx*8 - 0x30]
mov dword [ebp - 0x1c], edx
cmp ecx, 1
jle 0x100f4a52
test byte [esi + 0x70], 4
jne 0x100f4a52
mov ecx, dword [esi + 0xac]
sub ecx, dword [edx + 4]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x30], eax
sub eax, edx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
add eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
cmp edx, 0x18
jge 0x100f49c7
sub dword [ebp + 0x14], 8
cmp ecx, 0x18
jge 0x100f49cf
add eax, 8
mov ecx, dword [ebp + 0x14]
add ecx, 0x20
and ecx, 0xffffffc0
lea edx, [eax + 0x20]
and edx, 0xffffffc0
mov dword [esi + 0xa4], ecx
mov dword [ebp - 0x24], edx
mov dword [esi + 0xac], edx
cmp ecx, dword [ebp - 0x30]
jl 0x100f4a01
cmp dword [ebp - 0x28], 0
jle 0x100f4a01
add ecx, 0xffffffc0
mov dword [esi + 0xa4], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp ecx, dword [edx + 8]
jg 0x100f4a1b
cmp dword [ebp - 0x20], 0
jle 0x100f4a1b
add ecx, 0x40
mov dword [esi + 0xac], ecx
mov ecx, dword [esi + 0xa4]
sub ecx, dword [ebp + 0x14]
push edi
mov dword [ebx + 0x90], ecx
mov edx, dword [esi + 0xac]
sub edx, eax
mov dword [ebx + 0x94], edx
call fcn.100b3510
add esp, 4
jmp 0x100f466b
mov dword [ebp - 4], 0
jmp 0x100f489b
mov ecx, dword [esi + 0xa4]
mov edx, dword [esi + 0xac]
mov dword [ebp + 0x14], edx
lea eax, [ecx + 0x20]
and eax, 0xffffffc0
mov dword [esi + 0xa4], eax
add edx, 0x20
sub eax, ecx
and edx, 0xffffffc0
mov dword [esi + 0xac], edx
mov dword [ebx + 0x90], eax
mov eax, dword [esi + 0xac]
sub eax, dword [ebp + 0x14]
push edi
mov dword [ebx + 0x94], eax
call fcn.100b3510
add esp, 4
jmp 0x100f466b
mov eax, dword [esi + 0xa4]
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0xac]
lea edx, [edx + eax + 0x20]
and edx, 0xffffffc0
mov dword [esi + 0xa4], edx
mov edx, dword [esi + 0x80]
lea edx, [edx + ecx + 0x20]
and edx, 0xffffffc0
mov dword [esi + 0xac], edx
mov edx, dword [esi + 0xa4]
sub edx, eax
mov dword [ebx + 0x90], edx
mov eax, dword [esi + 0xac]
sub eax, ecx
push edi
mov dword [ebx + 0x94], eax
call fcn.100b3510
add esp, 4
jmp 0x100f466b
mov eax, dword [ebx + 0x80]
movsx ecx, word [edi + 0x16]
push eax
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
call fcn.100b85d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100f4e2a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x84]
mov ecx, dword [edi + 0x58]
shl edx, 5
push edx
push eax
push ecx
call fcn.10230070
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x30]
add esp, 0xc
mov dword [edi + 0x54], ecx
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x100f466b
shl eax, 5
mov dword [ebp - 0xc], eax
jmp 0x100f4b60
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0xa4]
mov eax, dword [edi + 0x34]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi + 0xb0]
mov dword [ebp - 0x40], edx
mov edx, dword [esi + 0xac]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x48], edx
movsx edx, word [edi + 0x16]
inc ecx
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
mov dword [ebp - 8], edx
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.100f4580
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x100f4e2a
mov eax, dword [edi + 0x34]
add eax, dword [ebp - 0xc]
mov ecx, 0x200
mov dword [ebp - 0x14], eax
test word [eax + 4], cx
jne 0x100f4bed
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0xa4], edx
mov edx, dword [ebp - 0x48]
mov dword [esi + 0xa8], ecx
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0xac], edx
mov dword [esi + 0xb0], ecx
movsx ecx, word [edi + 0x16]
mov edx, dword [ebp - 8]
sub ecx, edx
test byte [eax + 4], 0xc8
mov dword [ebp - 0x18], ecx
je 0x100f4c3b
mov ecx, dword [edi + 0x18]
lea ecx, [ecx + edx*8]
mov edx, dword [ebp - 0x18]
lea edx, [ecx + edx*8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], edx
cmp ecx, edx
jae 0x100f4c38
jmp 0x100f4c1a
mov ecx, dword [ebp - 0x10]
add eax, 0x10
push eax
push ecx
call fcn.100b4850
mov eax, dword [ebp - 0x10]
add eax, 8
add esp, 8
cmp eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
jb 0x100f4c17
mov edx, dword [ebp - 8]
test byte [eax + 4], 2
jne 0x100f4c8e
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
add eax, ecx
mov dword [ebp - 0x14], eax
cmp eax, edx
jae 0x100f4d67
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x18]
jae 0x100f4d67
mov ecx, dword [edi + 0x18]
add eax, edx
add eax, dword [ebp - 0x20]
lea edx, [ecx + eax*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [ecx + eax*8]
sub eax, dword [edx]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ecx + edx*8 + 4]
mov edx, dword [ebp - 0x38]
sub ecx, dword [edx + 4]
jmp 0x100f4d0e
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x1c]
mov edx, dword [ebp - 0x28]
add eax, 0x20
lea ecx, [ecx + edx + 0x20]
and eax, 0xffffffc0
and ecx, 0xffffffc0
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x5c], edx
mov edx, dword [edi + 0x20]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x58], edx
mov edx, dword [edi + 0x24]
mov dword [ebp - 0x64], ecx
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 8]
lea ecx, [ecx + edx*8]
mov dx, word [ebp - 0x18]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x14]
push ecx
mov word [ebp - 0x62], dx
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.100b4810
mov eax, dword [ebp - 0x30]
add dword [ebp - 0xc], 0x20
inc eax
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x1c]
jb 0x100f4b60
jmp 0x100f466b
pop edi
pop esi
mov eax, 0x15
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x28], 0
je 0x100f4d88
mov edx, dword [esi + 0xac]
sub edx, dword [esi + 0xa4]
mov dword [ebx + 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebx + 0x34]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x34]
add eax, 0x20
add ecx, 0x20
and eax, 0xffffffc0
and ecx, 0xffffffc0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x34], ecx
mov edx, dword [esi]
push edx
call fcn.100b3440
mov eax, dword [esi]
push edi
push eax
call fcn.100b8630
add esp, 0xc
test eax, eax
jne 0x100f4e2a
mov ecx, dword [esi]
movzx edx, word [ecx + 0x14]
mov word [ebx + 0x6c], dx
mov ecx, dword [esi]
movzx edx, word [ecx + 0x16]
mov word [ebx + 0x6e], dx
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
mov dword [ebx + 0x70], edx
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1c]
mov dword [ebx + 0x74], edx
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
pop edi
pop esi
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x48], 0x6f75746c
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret