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

Disassembly:
sub esp, 0x7c
cmp dword [esp + 0x88], 4
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
jge 0x10135fde
lea eax, [esp + 0x38]
push eax
call fcn.10133ba0
mov edi, eax
add esp, 4
test edi, edi
je 0x10135fe8
mov ecx, dword [esp + 0xa0]
inc edi
mov dword [esp + 0x24], edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10135cd1
xor eax, eax
sub ecx, edx
mov edx, dword [esp + 0x9c]
test edx, edx
setne al
add eax, ecx
mov dword [esp + 0x28], eax
add eax, 0xa
add eax, edi
mov dword [esp + 0x14], eax
lea eax, [edx*4]
test esi, esi
jne 0x10135d0a
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x10135d49
test eax, eax
je 0x10135fd2
mov ecx, dword [esi + 0x274]
push eax
test ecx, ecx
je 0x10135d2b
push esi
call ecx
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
jmp 0x10135d3a
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x10], eax
mov ebx, eax
test ebx, ebx
je 0x10135fd2
mov edx, dword [esp + 0x9c]
xor ebp, ebp
test edx, edx
jle 0x10135db2
mov esi, dword [esp + 0x14]
lea eax, [edx - 1]
mov dword [esp + 0x1c], eax
mov edi, ebx
mov eax, dword [esp + 0xa4]
sub eax, ebx
mov dword [esp + 0x18], eax
mov ebx, eax
nop dword [eax + eax]
mov ecx, dword [ebx + edi]
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10135d80
sub ecx, dword [esp + 0x18]
xor eax, eax
cmp ebp, dword [esp + 0x1c]
setne al
inc ebp
add eax, ecx
mov dword [edi], eax
add esi, eax
add edi, 4
cmp ebp, edx
jl 0x10135d70
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x20]
push dword [esp + 0x14]
mov edx, 0x7043414c
mov ecx, esi
call fcn.10134610
add esp, 4
test esi, esi
je 0x10135df3
test edi, edi
je 0x10135df3
mov eax, dword [esi + 0x58]
test eax, eax
je 0x10135ff4
push edi
lea ecx, [esp + 0x3c]
push ecx
push esi
call eax
add esp, 0xc
lea edx, [esp + 0x38]
mov ecx, esi
push edi
call fcn.10130ba0
add esp, 4
mov ecx, dword [esp + 0x90]
mov eax, ecx
sar eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ecx
sar eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ecx
sar eax, 8
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], cl
mov ecx, dword [esp + 0x94]
mov eax, ecx
sar eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
sar eax, 0x10
mov byte [esp + 0x31], al
mov eax, ecx
sar eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x98]
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x33], cl
mov byte [esp + 0x35], al
test esi, esi
je 0x10135ee6
mov eax, dword [esi + 0x58]
test eax, eax
je 0x10135ff4
push 0xa
lea ecx, [esp + 0x30]
push ecx
push esi
call eax
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x38]
add esp, 0xc
test dword [esi + 0x11c], 0x20000000
je 0x10135e96
and eax, 0x300
cmp eax, 0x300
je 0x10135eb3
jmp 0x10135e9d
test eax, 0x800
jne 0x10135eb3
mov ecx, dword [esi + 0x140]
push 0xa
call fcn.10169a90
add esp, 4
mov dword [esi + 0x140], eax
mov ebp, dword [esp + 0xa0]
test ebp, ebp
je 0x10135ee6
mov edi, dword [esp + 0x28]
test edi, edi
je 0x10135ee6
mov eax, dword [esi + 0x58]
test eax, eax
je 0x10135ff4
push edi
push ebp
push esi
call eax
add esp, 0xc
mov edx, ebp
mov ecx, esi
push edi
call fcn.10130ba0
add esp, 4
mov ecx, dword [esp + 0x9c]
xor eax, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x10135f5f
mov edx, dword [esp + 0xa4]
mov edi, ebx
sub edx, ebx
mov dword [esp + 0xa4], edx
nop dword [eax]
test esi, esi
je 0x10135f53
mov ebx, dword [edi + edx]
test ebx, ebx
je 0x10135f53
mov ebp, dword [edi]
test ebp, ebp
je 0x10135f53
mov eax, dword [esi + 0x58]
test eax, eax
je 0x10135ff4
push ebp
push ebx
push esi
call eax
add esp, 0xc
mov edx, ebx
mov ecx, esi
push ebp
call fcn.10130ba0
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa4]
inc eax
add edi, 4
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x10135f10
test esi, esi
je 0x10135fca
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10135f87
mov eax, dword [esi + 0x278]
push ecx
test eax, eax
je 0x10135f7e
push esi
call eax
add esp, 8
jmp 0x10135f87
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esi + 0x140]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x12], al
mov eax, dword [esi + 0x58]
mov dword [esi + 0x2c4], 0x82
mov byte [esp + 0x13], cl
test eax, eax
je 0x10135ff4
push 4
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov edx, str.Out_of_memory
mov ecx, esi
call fcn.101318d0
mov edx, str.Unrecognized_equation_type_for_pCAL_chunk
call fcn.101318d0
mov edx, str.pCAL:_invalid_keyword
mov ecx, esi
call fcn.101318d0
mov edx, str.Call_to_NULL_write_function
mov ecx, esi
call fcn.101318d0
int3