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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x1010a080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xf0], esi
cmp dword [esi + 0x78], 0xffffffff
mov dword [ebp - 0xe8], edi
je 0x1008506f
test byte [ebp + 0x14], 8
jne 0x1008506f
mov eax, dword [ebx + 4]
test dword [eax + 4], 0x7fff0000
jne 0x1008506f
test dword [eax + 8], 0x8000
jne 0x1008506f
push dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
push edi
mov dword [ebp - 0xf8], eax
mov eax, dword [esi + 0x14]
push ebx
push esi
mov dword [ebp - 0xf4], eax
call fcn.100893da
mov ecx, eax
add esp, 0x10
mov eax, dword [ebx + 4]
cmp cl, 0x9d
jne 0x10084eb7
test byte [eax + 8], 1
mov dword [ebp - 0xe4], eax
jne 0x1008506f
xor esi, esi
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf0], esi
cmp dword [eax + 0x2f0], esi
je 0x10084ecb
lea ecx, [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0xec]
push ecx
push edi
push eax
call fcn.10084504
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xfc]
push eax
push esi
push edi
push dword [ebp - 0xe4]
call fcn.10084527
add esp, 0x24
mov dword [ebx + 0x18], esi
xor eax, eax
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x6c], eax
movsx eax, word [ebp - 0xec]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov edx, dword [ebp - 0xf8]
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 - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebx + 0x20], eax
movzx eax, word [ebp - 0xe8]
mov dword [ebx + 0x24], esi
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xf8]
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 - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebx + 0x28], eax
movsx eax, word [ebp - 0xfc]
mov dword [ebx + 0x2c], esi
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xf4]
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 - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebx + 0x30], eax
movzx eax, word [ebp - 0xf0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xf4]
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 - 0xe4], eax
mov dword [ebx + 0x48], 0x62697473
mov byte [ebx + 0x5e], 1
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
mov eax, dword [ebp - 0xe4]
mov dword [ebx + 0x34], eax
xor eax, eax
jmp 0x100852e9
mov dword [ebp - 0xe0], eax
test ecx, ecx
je 0x10084ed2
test byte [eax + 8], 1
jne 0x1008506f
mov eax, ecx
jmp 0x100852e9
test dword [eax + 8], 0x20001
je 0x10084eb0
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 0xdc]
push ebx
push esi
push eax
call fcn.1008b411
push 1
xor esi, esi
lea eax, [ebp - 0xdc]
push esi
push edi
push eax
call fcn.100894a6
lea eax, [ebp - 0xdc]
push eax
call fcn.1008b3f1
mov eax, dword [ebp - 0xa0]
add esp, 0x28
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x31c], 3
jne 0x10084fdd
cmp word [ebp - 0xbc], si
jle 0x10084fdd
test byte [ebp + 0x14], 0x10
je 0x10084f55
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x30]
jmp 0x10084f67
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xf8]
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 - 0xe0], eax
mov eax, dword [ebp - 0xe0]
sar eax, 6
add dword [ebx + 0x64], eax
mov eax, dword [ebp - 0xec]
mov edx, dword [ebp - 0xf4]
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 - 0xe0], eax
mov eax, dword [ebp - 0xe0]
sar eax, 6
add dword [ebx + 0x68], eax
cmp dword [ebx + 0x28], esi
jne 0x10085024
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x10085024
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xf8]
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 - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x34], esi
jne 0x10084eb0
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x10084eb0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xf4]
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 - 0xe4], eax
jmp 0x10084ea7
test dword [ebp + 0x14], 0x4000
je 0x10085080
push 6
pop esi
jmp 0x100852e7
mov eax, dword [ebp + 0x14]
and eax, 1
mov dword [ebp - 0xe4], eax
jne 0x10085098
cmp byte [esi + 0x70], 0
jne 0x10085098
push 0x24
jmp 0x1008507a
xor edi, edi
test dword [ebp + 0x14], 0x100000
je 0x10085183
mov eax, dword [ebx + 4]
cmp dword [eax + 0x36c], edi
je 0x10085183
mov eax, dword [eax + 0x21c]
push dword [ebp - 0xe8]
mov dword [ebp - 0xe0], eax
push ebx
call dword [eax + 0xb4]
pop ecx
pop ecx
test eax, eax
jne 0x10085183
mov esi, dword [ebx + 4]
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xf4]
mov dword [ebx + 0x48], 0x53564720
push eax
push dword [ebp - 0xe8]
push edi
mov edi, dword [ebp - 0xe0]
push esi
call dword [edi + 0xa0]
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push dword [ebp - 0xe8]
push 1
push esi
call dword [edi + 0xa0]
mov ecx, dword [ebx + 4]
movzx eax, word [ecx + 0x44]
push eax
mov eax, dword [ecx + 0x58]
movzx eax, word [eax + 0xc]
push eax
movzx eax, word [ebp - 0xec]
push eax
call fcn.10070ae5
movzx eax, ax
mov dword [ebp - 0xec], eax
mov eax, dword [ebx + 4]
movzx ecx, word [eax + 0x44]
mov eax, dword [eax + 0x58]
push ecx
movzx edx, word [eax + 0xe]
movzx eax, word [ebp - 0xfc]
push edx
push eax
call fcn.10070ae5
movzx ecx, ax
add esp, 0x40
movzx eax, word [ebp - 0xec]
shl eax, 6
shl ecx, 6
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x34], ecx
jmp 0x10084eb0
test dword [ebp + 0x14], 0x800000
jne 0x10085078
push edi
push dword [ebp + 0x14]
lea eax, [ebp - 0xdc]
push ebx
push esi
push eax
call fcn.1008b411
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100852e7
mov ecx, dword [ebp + 0x14]
and ecx, 0x110
cmp ecx, 0x100
jne 0x100851dc
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100851dc
mov eax, dword [ebp - 0xe8]
movzx eax, byte [eax + ecx]
shl eax, 6
mov dword [ebx + 0x28], eax
jmp 0x100852da
push edi
push edi
push dword [ebp - 0xe8]
lea eax, [ebp - 0xdc]
mov dword [ebx + 0x48], 0x6f75746c
push eax
mov dword [ebx + 0x80], edi
mov dword [ebx + 0x7c], edi
call fcn.100894a6
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100852ba
cmp dword [ebx + 0x48], 0x636f6d70
jne 0x10085230
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + 0x30]
mov dword [ebx + 0x80], eax
mov eax, dword [ecx + 0x34]
mov dword [ebx + 0x84], eax
jmp 0x10085263
mov esi, dword [ebp - 0xd0]
lea edx, [ebx + 0x6c]
mov eax, dword [ebp - 0x98]
add esi, 0x14
push 5
pop ecx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
and dword [ebx + 0x7c], 0xfffffdff
xor edi, edi
test eax, eax
je 0x10085263
push edi
neg eax
push eax
push edx
call fcn.100718f2
add esp, 0xc
test byte [ebp + 0x14], 2
jne 0x100852a4
mov eax, dword [ebp - 0x40]
cmp byte [eax + 0x155], 0
je 0x100852a0
mov eax, dword [eax + 0x158]
sub eax, edi
je 0x1008529a
sub eax, 1
je 0x100852a4
sub eax, 3
je 0x10085294
sub eax, 1
jne 0x100852a0
or dword [ebx + 0x7c], 0x10
jmp 0x100852a4
or dword [ebx + 0x7c], 0x30
jmp 0x100852a4
or dword [ebx + 0x7c], 0x20
jmp 0x100852a4
or dword [ebx + 0x7c], 8
push dword [ebp - 0xe8]
lea eax, [ebp - 0xdc]
push eax
call fcn.10087886
pop ecx
pop ecx
mov esi, eax
cmp dword [ebp - 0xe4], 0
jne 0x100852da
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 0x2c]
cmp word [eax + 2], 0x18
jae 0x100852da
or dword [ebx + 0x7c], 0x100
lea eax, [ebp - 0xdc]
push eax
call fcn.1008b3f1
pop ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100daa0d
leave
ret