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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push esi
push edi
lea eax, [esp + 0x10]
mov esi, ecx
xor edx, edx
mov dword [esp + 0xc], esi
push eax
mov dword [esp + 0xc], edx
call fcn.10255af0
mov edi, dword [esp + 0x10]
test edi, edi
jns 0x10255890
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x18]
cmp eax, 0x63
je 0x102558a1
cmp eax, 0x43
jne 0x10255ada
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.102562b0
cmp dword [esp + 0x20], 0x43
movq xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x28]
jne 0x10255ad2
mov ecx, dword [esi + 0x14]
inc dword [esp + 8]
mov dword [esp + 0x38], eax
movq qword [esp + 0x30], xmm0
lea eax, [ecx + 1]
mov dword [esi + 0x14], eax
cmp ecx, 0x32
jge 0x102559cc
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.10255af0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test esi, esi
js 0x102559b2
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
sub eax, edx
add edx, 0x6c
sar eax, 7
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, edi
shl eax, 7
add eax, edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1024f440
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov esi, eax
shl esi, 7
mov dword [esp + 0x18], esi
mov edx, dword [ecx + 0x2c]
mov edx, dword [edx]
add edx, esi
mov dword [esp + 0x1c], edx
mov esi, dword [edx + 0x78]
test esi, esi
js 0x1025596e
mov edx, dword [edx]
shl esi, 7
mov edx, dword [edx]
mov dword [esi + edx + 0x7c], edi
mov edx, dword [esp + 0x1c]
jmp 0x10255971
mov dword [edx + 0x74], edi
mov esi, dword [esp + 0x10]
mov dword [edx + 0x78], edi
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx]
add edx, dword [esp + 0x18]
mov edi, dword [edx + 0x78]
test edi, edi
js 0x102559a1
mov ecx, dword [edx]
shl edi, 7
mov ecx, dword [ecx]
mov dword [edi + ecx + 0x7c], esi
mov edi, eax
mov dword [edx + 0x78], esi
mov esi, dword [esp + 0xc]
jmp 0x10255890
mov dword [edx + 0x74], esi
mov edi, eax
mov dword [edx + 0x78], esi
mov esi, dword [esp + 0xc]
jmp 0x10255890
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 8]
sub dword [eax + 0x14], edx
mov eax, ecx
mov dword [ecx], 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x18], 0x63
jne 0x102559ed
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.102562b0
movq xmm0, qword [eax]
movq qword [esi + 0x18], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x20], eax
movq xmm0, qword [esi + 0x18]
lea ecx, [esp + 0x48]
push 0x18
push str.exceeded_max_parse_depth
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], 0
call fcn.10084d80
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x64]
call fcn.100821d0
mov eax, dword [esi + 0x28]
sub esp, 0x18
mov dword [esp + 0x34], eax
mov ecx, esp
mov eax, dword [eax]
mov edi, dword [eax + 4]
lea eax, [esp + 0x78]
push eax
call fcn.100821d0
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
call edi
mov edx, dword [esp + 0x74]
cmp edx, 0x10
jb 0x10255a82
mov ecx, dword [esp + 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10255a78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10255aaa
push edx
push ecx
call fcn.1037dfe9
add esp, 8
mov edx, dword [esp + 0x5c]
cmp edx, 0x10
jb 0x10255aba
mov ecx, dword [esp + 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10255ab0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10255ab0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1037dfe9
add esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [esp + 8]
sub dword [esi + 0x14], edx
mov dword [eax], 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 8]
mov edx, dword [esp + 8]
sub dword [esi + 0x14], edx
mov dword [eax], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4