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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
test dword [ebp + 0xc], 0xffffff3c
push esi
push edi
je 0x100a6203
mov eax, 0x8876086c
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor edi, edi
cmp eax, edi
je 0x100a61f6
mov esi, ebx
mov dword [eax], edi
call fcn.100a6140
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edx, [ebx + 0x74]
lea esi, [ebx + 0x78]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
mov dword [ebx + 0x38], edi
mov dword [ebx], eax
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x68], edi
mov dword [ebx + 0x6c], edi
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x54], edi
mov dword [ebx + 0x58], edi
mov dword [ebx + 0x5c], edi
mov dword [ebx + 0x44], ecx
mov dword [edx], edi
mov dword [esi], edi
mov dword [ebx + 0x40], 0xffffffff
mov dword [ebx + 0x7c], edi
mov ecx, dword [eax + 0x894]
cmp dword [ecx + 0x20], edi
jne 0x100a6265
call fcn.101bb610
mov edi, dword [ebx + 4]
push 2
call fcn.101bad80
test eax, eax
jl 0x100a66c5
lea eax, [ebp + 8]
mov edi, ebx
call fcn.100a67f0
cmp dword [ebx + 0x10], 0xb
lea edi, [ebx + 0x10]
jne 0x100a62a7
mov eax, dword [ebx + 0x18]
lea edx, [ebp - 0xc]
push edx
push 0
push 2
push eax
call fcn.101daa28
test eax, eax
jne 0x100a62a7
mov dword [edi], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x18], eax
cmp dword [edi], 0
je 0x100a62bb
push 0x1008175c
push 0x7d1
jmp 0x100a6451
cmp dword [ebx + 0x18], 0xfffe0100
jne 0x100a62e2
mov edx, dword [ebx]
push 0x10081774
push edx
mov esi, 0x7df
mov eax, edi
call fcn.101bfc50
add esp, 8
mov dword [ebx + 0x18], 0xfffe0101
cmp dword [ebx + 0x18], 0xffff0100
jne 0x100a6309
mov eax, dword [ebx]
push 0x100817a0
push eax
mov esi, 0x7df
mov eax, edi
call fcn.101bfc50
add esp, 8
mov dword [ebx + 0x18], 0xffff0101
cmp dword [ebx + 0x18], 0xffff0202
jne 0x100a6319
mov dword [ebx + 0x18], 0xffff0201
mov al, byte [ebp + 0xc]
test al, 0x40
je 0x100a6331
mov ecx, dword [ebx + 0x18]
and ecx, 0xffff0000
cmp ecx, 0xfffe0000
je 0x100a6346
test al, al
jns 0x100a634a
mov edx, dword [ebx + 0x18]
and edx, 0xffff0000
cmp edx, 0xffff0000
jne 0x100a634a
or dword [ebx + 0x44], 1
mov eax, dword [ebx + 0x18]
cmp eax, 0xffff0101
ja 0x100a63e2
je 0x100a63d6
cmp eax, 0xfffe02ff
ja 0x100a63ac
je 0x100a63a0
cmp eax, 0xfffe0101
je 0x100a6394
cmp eax, 0xfffe0200
je 0x100a6388
cmp eax, 0xfffe0201
jne case.0x100a63fe.65275
mov dword [ebx + 0x40], 2
jmp 0x100a6488
mov dword [ebx + 0x40], 1
jmp 0x100a6488
mov dword [ebx + 0x40], 0
jmp 0x100a6488
mov dword [ebx + 0x40], 3
jmp 0x100a6488
cmp eax, 0xfffe0300
je 0x100a63ca
cmp eax, 0xfffe03ff
jne case.0x100a63fe.65275
mov dword [ebx + 0x40], 5
jmp 0x100a6488
mov dword [ebx + 0x40], 4
jmp 0x100a6488
mov dword [ebx + 0x40], 6
jmp 0x100a6488
cmp eax, 0xffff0201
ja 0x100a6432
je 0x100a6429
add eax, 0xfefe
cmp eax, 0xfe
ja case.0x100a63fe.65275
movzx eax, byte [eax + 0x100a66e4]
jmp dword [eax*4 + 0x100a66d0]
mov dword [ebx + 0x40], 7
jmp 0x100a6488
mov dword [ebx + 0x40], 8
jmp 0x100a6488
mov dword [ebx + 0x40], 9
jmp 0x100a6488
mov dword [ebx + 0x40], 0xa
jmp 0x100a6488
mov dword [ebx + 0x40], 0xb
jmp 0x100a6488
cmp eax, 0xffff02ff
je 0x100a6481
cmp eax, 0xffff0300
je 0x100a6478
cmp eax, 0xffff03ff
je 0x100a646f
push 0x100817cc
push 0x7d2
mov ecx, dword [ebx]
push ecx
mov eax, edi
call fcn.101bf9d0
add esp, 0xc
mov esi, 0x88760b59
mov dword [ebx + 0x54], 1
jmp 0x100a66a2
mov dword [ebx + 0x40], 0xe
jmp 0x100a6488
mov dword [ebx + 0x40], 0xd
jmp 0x100a6488
mov dword [ebx + 0x40], 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100a652e
or dword [ebx + 0x44], 2
push 0xb8
mov dword [ebx + 0x84], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x100a64b8
mov edx, dword [ebx + 0x40]
call fcn.100a55d0
jmp 0x100a64ba
xor eax, eax
mov dword [ebx + 0x80], eax
test eax, eax
jne 0x100a64d1
mov eax, 0x8007000e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx + 0x40]
test eax, eax
jl 0x100a64f5
cmp eax, 5
jg 0x100a64f5
movzx edx, byte [ebx + 0x19]
movzx eax, byte [ebx + 0x18]
or edx, 0x7ffe00
shl edx, 8
or edx, eax
mov dword [ebx + 0x18], edx
jmp 0x100a652e
cmp eax, 0xa
jl 0x100a6517
cmp eax, 0xe
jg 0x100a6517
movzx ecx, byte [ebx + 0x19]
movzx edx, byte [ebx + 0x18]
or ecx, 0x7fff00
shl ecx, 8
or ecx, edx
mov dword [ebx + 0x18], ecx
jmp 0x100a652e
mov eax, dword [ebx]
push 0x100817e8
push 0x7d1
push eax
mov eax, edi
call fcn.101bf9d0
add esp, 0xc
test byte [ebx + 0x44], 2
jne 0x100a6585
push 0x10081850
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x100a6552
push 0x10081850
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x100a6585
push 0x1008185c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100a6585
call eax
mov dword [ebx + 8], eax
test eax, eax
je 0x100a6585
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0
push ebx
push 0x100a7210
push eax
call edx
mov esi, eax
test esi, esi
jl 0x100a6697
mov eax, dword [ebx + 0x18]
push eax
mov eax, ebx
call fcn.100a8d90
mov esi, eax
test esi, esi
jl 0x100a6697
mov esi, ebx
call fcn.100a8cc0
mov esi, eax
test esi, esi
jl 0x100a6697
cmp dword [ebx + 0x54], 0
jne 0x100a65c9
mov ecx, ebx
call fcn.100a9f60
test eax, eax
je 0x100a65c3
mov dword [ebx + 0x54], 1
cmp dword [ebx + 0x54], 0
je 0x100a65da
mov esi, 0x88760b59
mov dword [ebx + 0x54], 1
jmp 0x100a66a2
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x100a6615
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x88c]
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x100a6600
mov ecx, eax
mov eax, dword [ecx + 0x90]
test eax, eax
jne 0x100a65f4
mov ecx, dword [ecx + 8]
cmp edx, ecx
jae 0x100a6615
mov eax, dword [ebx + 0x78]
add eax, edx
cmp eax, ecx
jbe 0x100a6615
sub ecx, edx
mov dword [ebx + 0x78], ecx
cmp dword [ebx + 0x80], 0
je 0x100a662a
push ebx
call fcn.100a96f0
mov esi, eax
test esi, esi
jl 0x100a6697
test byte [ebx + 0x44], 1
je 0x100a663c
push ebx
call fcn.100a99f0
mov esi, eax
test esi, esi
jl 0x100a6697
push 0xffff
mov eax, ebx
call fcn.100a8d90
mov esi, eax
test esi, esi
jl 0x100a6697
mov esi, ebx
call fcn.100a8cc0
mov esi, eax
test esi, esi
jl 0x100a6697
mov eax, dword [ebx + 8]
test eax, eax
je 0x100a6670
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov esi, eax
test esi, esi
jl 0x100a6697
mov eax, dword [ebx]
cmp dword [eax + 0x14], 0
je 0x100a6686
mov esi, 0x88760b59
mov dword [ebx + 0x54], 1
jmp 0x100a66a2
mov ecx, dword [ebp + 0x14]
push ecx
mov esi, ebx
call fcn.100a9d50
mov esi, eax
test esi, esi
jge 0x100a66a0
mov dword [ebx + 0x54], 1
jmp 0x100a66a2
xor esi, esi
mov eax, dword [ebx + 8]
test eax, eax
je 0x100a66b8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebx + 8], 0
mov ecx, dword [ebx + 4]
push 0
push ecx
call fcn.101bb4d0
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10