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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x300
mov eax, dword [0x10130040]
xor eax, esp
mov dword [esp + 0x2fc], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov esi, dword [edi]
mov dword [esp + 0x10], esi
mov eax, dword [esi + 0x34]
sub eax, dword [edi + 0x60]
sar eax, 3
mov dword [esp + 0x18], eax
lea eax, [esp + 0x38]
push eax
push edi
call fcn.100a4780
mov al, byte [esp + 0x64]
add esp, 8
cmp dword [edi + 0x1c], 0x28
mov ecx, dword [ebp + 0x14]
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x35], 0
mov dword [esp + 0xc], 0
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [edi]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x14], eax
jne 0x100a5c47
push edi
call fcn.1009e240
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x100a5a6e
mov eax, dword [edi + 4]
push 4
push str.self
push eax
mov dword [esp + 0x18], eax
call fcn.1008ae50
mov ecx, dword [edi]
push eax
mov dword [esp + 0x34], eax
push dword [ecx]
push dword [esp + 0x20]
call fcn.1008c260
add esp, 0x18
cmp dword [eax + 4], 0xffffffff
jne 0x100a5a43
mov dword [eax + 4], 0xfffffffd
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x14]
cmp eax, dword [edx + 0x18]
jb 0x100a5a57
call fcn.10087dd0
push dword [esp + 0x24]
push 0
push edi
call fcn.100a7690
add esp, 0xc
mov dword [esp + 0xc], 1
cmp dword [edi + 0x1c], 0x29
je 0x100a5b12
nop dword [eax + eax]
mov eax, dword [edi + 0x1c]
cmp eax, 0x11f
je 0x100a5a91
cmp eax, 0x10a
jne 0x100a5ac3
mov esi, dword [edi + 8]
push edi
call fcn.1009e240
mov ecx, dword [esp + 0x10]
push esi
push ecx
push edi
call fcn.100a7690
mov eax, dword [esp + 0x1c]
add esp, 0x10
inc eax
cmp dword [edi + 0x1c], 0x2c
mov dword [esp + 0xc], eax
jne 0x100a5ae3
push edi
call fcn.1009e240
add esp, 4
jmp 0x100a5a80
cmp eax, 0x118
jne 0x100a5c5c
push edi
call fcn.1009e240
mov eax, dword [esp + 0x18]
add esp, 4
or byte [eax + 0x40], 2
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
push eax
push edi
call fcn.100a74e0
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0xc]
add ecx, dword [edx + 0x20]
movzx eax, byte [edx + 0x42]
cmp ecx, eax
jbe 0x100a5b1b
cmp ecx, 0xfa
jae 0x100a5c4f
jmp 0x100a5b18
mov eax, dword [esp + 0xc]
jmp 0x100a5ae7
mov byte [edx + 0x42], cl
mov dword [edx + 0x20], ecx
cmp dword [edi + 0x1c], 0x29
jne 0x100a5c67
push edi
call fcn.1009e240
mov eax, dword [esp + 0x10]
mov byte [esp + 0x7d], al
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x34]
push 0x55
lea eax, [eax + ecx*8]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x14]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x40]
push eax
call fcn.100a0df0
push edi
call fcn.100a5cd0
add esp, 0x10
cmp dword [edi + 0x1c], 0x106
je 0x100a5b82
mov eax, dword [ebp + 0x14]
push 0x106
push edi
cmp eax, dword [edi + 0x40]
jne 0x100a5c74
jmp 0x100a5c6f
mov eax, dword [edi + 0x40]
push eax
push edi
mov dword [edi + 0x44], eax
call fcn.100a4290
mov ecx, dword [edi + 0x60]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push dword [esi]
lea ecx, [ecx + edx*8]
mov dword [esp + 0x2c], 0xfffffff8
push dword [esi + 8]
mov dword [esi + 0x34], ecx
mov ecx, dword [edi + 0x64]
sub ecx, edx
mov dword [esi + 0x38], ecx
call fcn.1008c0b0
mov ecx, eax
add esp, 0x14
cmp dword [ecx + 4], 0
jne 0x100a5bce
mov ecx, dword [ecx]
jmp 0x100a5be3
mov eax, dword [esi + 0x2c]
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov ecx, dword [esi + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x2c], eax
shl ecx, 0x10
or ecx, 0x31
push ecx
push esi
call fcn.100a0df0
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [ecx], eax
movzx eax, byte [esp + 0x78]
and al, 4
mov dword [ecx + 8], 0xb
mov dword [ecx + 0xc], 0xffffffff
mov dword [ecx + 0x10], 0xffffffff
or byte [esi + 0x40], al
mov al, byte [esi + 0x40]
test al, 1
jne 0x100a5c2a
test al, 0x20
je 0x100a5c25
or al, 0x40
or al, 1
mov byte [esi + 0x40], al
push edi
call fcn.1009e240
mov ecx, dword [esp + 0x308]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.100813c4
mov esp, ebp
pop ebp
ret
push 0x28
push edi
call fcn.100a1c70
push 0xa11
push dword [edx + 4]
call fcn.100a1c50
push 0xaf1
push edi
call fcn.100a1c50
push 0x29
push edi
call fcn.100a1c70
call fcn.100a1c70
call fcn.1009e4c0
push 0x109
push edi
mov esi, eax
call fcn.1009e4c0
mov ecx, dword [ebp + 0x14]
add esp, 0x10
push ecx
push eax
push esi
push 0xaa5
push dword [edi + 0x1c]
push edi
call fcn.1009e160
int3