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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
cmp byte [eax + 0x3c], 0
push edi
lea esi, [ebx + 0x3c]
mov dword [ebp - 8], esi
jne 0x10025b71
mov eax, dword [0x1006a9e8]
test eax, eax
je 0x10025b39
inc dword [eax + 0xb0]
push 0x60
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x10025b5f
mov ecx, eax
call fcn.10027ec0
mov dword [ebp - 0xc], eax
mov ecx, esi
lea eax, [ebp - 0xc]
push eax
call fcn.10019d00
jmp 0x10025b74
xor eax, eax
mov ecx, esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10019d00
jmp 0x10025b74
mov dword [ebp - 8], esi
mov edi, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x58]
cmp edi, ecx
jne 0x10025c16
inc edi
test ecx, ecx
je 0x10025b92
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10025b97
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10025c12
mov eax, dword [0x1006a9e8]
test eax, eax
je 0x10025baf
inc dword [eax + 0xb0]
mov eax, edi
shl eax, 4
sub eax, edi
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [ebx + 0x5c]
add esp, 4
mov dword [ebp - 0xc], eax
test esi, esi
je 0x10025c07
mov edx, dword [ebx + 0x54]
shl edx, 4
sub edx, dword [ebx + 0x54]
shl edx, 3
push edx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x5c]
add esp, 0xc
test ecx, ecx
je 0x10025bfa
mov eax, dword [0x1006a9e8]
test eax, eax
je 0x10025bfa
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0xc]
add esp, 4
mov dword [ebx + 0x5c], eax
lea edx, [ebx + 0x3c]
mov dword [ebx + 0x58], edi
jmp 0x10025c19
mov edx, esi
jmp 0x10025c19
mov edx, dword [ebp - 8]
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x5c]
mov esi, dword [ebp + 8]
shl ecx, 4
sub ecx, dword [ebx + 0x54]
lea edi, [eax + ecx*8]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x54]
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x5c]
shl ecx, 4
sub ecx, dword [ebx + 0x54]
cmp dword [eax + ecx*8 - 4], 0
lea edi, [eax + ecx*8]
jne 0x10025c57
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi - 4], eax
cmp byte [edi - 0x70], 0
jne 0x10025c90
mov eax, dword [0x1006a9e8]
mov ecx, dword [edi - 0x74]
test eax, eax
je 0x10025c6f
inc dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push dword [edi - 0x74]
mov esi, dword [ebp + 8]
mov dword [edi - 0x78], eax
mov byte [edi - 0x70], 1
push dword [esi]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x10
jmp 0x10025c93
mov esi, dword [ebp + 8]
mov ecx, dword [edi - 4]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x10025ca9
mov ax, word [esi + 0x48]
mov word [ecx + 0x3c], ax
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebx + 0x5c]
shl ecx, 4
sub ecx, dword [ebx + 0x54]
lea esi, [edx + ecx*8]
cmp edx, esi
je 0x10025cde
nop dword [eax]
cmp byte [edx + 0x3c], 0
mov ecx, dword [edx + 0x74]
lea eax, [ecx + 0x38]
jne 0x10025cd4
mov dword [ecx + 0x34], edx
xor ecx, ecx
mov word [eax], cx
inc word [eax]
add edx, 0x78
cmp edx, esi
jne 0x10025cc0
mov ecx, dword [ebx + 0x1c]
lea esi, [ebx + 0x1c]
mov byte [ebx + 0x18], 0
test ecx, ecx
je 0x10025d08
mov eax, dword [0x1006a9e8]
test eax, eax
je 0x10025cfe
dec dword [eax + 0xb0]
lea esi, [ebx + 0x1c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x10025d28
mov eax, dword [0x1006a9e8]
test eax, eax
je 0x10025d1e
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi], 0
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x19], 0
mov eax, dword [edi - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4