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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
cmp eax, 0x70637472
ja 0x1025c9f5
je 0x1025c921
cmp eax, 0x626c6f62
je 0x1025c827
cmp eax, 0x62746d70
je 0x1025c761
cmp eax, 0x696d6167
jne 0x1025cacc
cmp dword [edi + 0x8c], 0
jne 0x1025c679
cmp dword [edi + 0x88], 0
jne 0x1025c679
mov cl, 1
jmp 0x1025c67b
xor cl, cl
mov ebx, dword [esp + 0x1c]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1025cacc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1025cc13
xor ecx, ecx
mov dword [edi + 0x8c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.102aff02
xor esi, esi
mov dword [edi + 0x88], eax
add esp, 4
cmp dword [edi + 0x8c], esi
jle 0x1025cc13
mov ecx, ebx
call fcn.101dbb60
mov ecx, dword [edi + 0x88]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0x88]
cmp dword [eax + esi*4], 0
je 0x1025c701
inc esi
cmp esi, dword [edi + 0x8c]
jl 0x1025c6d0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
xor ebx, ebx
test esi, esi
jle 0x1025c738
nop word [eax + eax]
mov eax, dword [edi + 0x88]
or edx, 0xffffffff
mov ecx, dword [eax + ebx*4]
lea eax, [ecx + 4]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x1025c72d
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, esi
jl 0x1025c710
mov eax, dword [edi + 0x88]
push eax
call fcn.102afeda
add esp, 4
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
jle 0x1025c783
xor ebp, ebp
nop word [eax + eax]
mov ecx, dword [edi + 0x48]
add ecx, ebp
call fcn.10145fd0
inc ebx
add ebp, 0x34
cmp ebx, dword [edi + 0x3c]
jl 0x1025c770
mov ebp, dword [esp + 0x24]
lea ecx, [edi + 0x38]
push ebp
mov dword [edi + 0x3c], 0
call fcn.1025d520
xor ebx, ebx
mov dword [edi + 0x3c], ebp
test ebp, ebp
jle 0x1025c7dd
xor ebp, ebp
mov eax, dword [edi + 0x48]
add eax, ebp
push 0x34
push 0
push eax
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
call sub.VCRUNTIME140.dll_memset
inc ebx
add esp, 0xc
add ebp, 0x34
cmp ebx, dword [edi + 0x3c]
jl 0x1025c7a2
mov ebp, dword [esp + 0x24]
xor ebx, ebx
test ebp, ebp
jle 0x1025cc13
xor ebp, ebp
nop dword [eax]
mov esi, dword [edi + 0x48]
mov ecx, dword [esp + 0x1c]
add esi, ebp
push esi
call fcn.101db710
test al, al
je 0x1025cacc
mov eax, dword [esi]
test eax, eax
je 0x1025c811
mov byte [eax + 0x4c], 2
inc ebx
add ebp, 0x34
cmp ebx, dword [esp + 0x24]
jl 0x1025c7f0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp dword [edi + 0x84], 0
jne 0x1025c83d
cmp dword [edi + 0x80], 0
jne 0x1025c83d
mov cl, 1
jmp 0x1025c83f
xor cl, cl
mov ebx, dword [esp + 0x1c]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1025cacc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1025cc13
xor ecx, ecx
mov dword [edi + 0x84], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.102aff02
xor esi, esi
mov dword [edi + 0x80], eax
add esp, 4
cmp dword [edi + 0x84], esi
jle 0x1025cc13
push ebx
call fcn.101ad7d0
mov ecx, dword [edi + 0x80]
add esp, 4
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0x80]
cmp dword [eax + esi*4], 0
je 0x1025c8c7
inc esi
cmp esi, dword [edi + 0x84]
jl 0x1025c894
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
xor ebx, ebx
test esi, esi
jle 0x1025c8f8
nop dword [eax]
mov eax, dword [edi + 0x80]
or edx, 0xffffffff
mov ecx, dword [eax + ebx*4]
lea eax, [ecx + 4]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x1025c8ed
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, esi
jl 0x1025c8d0
mov eax, dword [edi + 0x80]
push eax
call fcn.102afeda
add esp, 4
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp dword [edi + 0x7c], 0
jne 0x1025c931
cmp dword [edi + 0x78], 0
jne 0x1025c931
mov cl, 1
jmp 0x1025c933
xor cl, cl
mov ebx, dword [esp + 0x1c]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1025cacc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1025cc13
xor ecx, ecx
mov dword [edi + 0x7c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.102aff02
xor esi, esi
mov dword [edi + 0x78], eax
add esp, 4
cmp dword [edi + 0x7c], esi
jle 0x1025cc13
nop
mov ecx, ebx
call fcn.101e2f00
mov ecx, dword [edi + 0x78]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0x78]
cmp dword [eax + esi*4], 0
je 0x1025c9a8
inc esi
cmp esi, dword [edi + 0x7c]
jl 0x1025c980
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
xor ebx, ebx
test esi, esi
jle 0x1025c9d2
nop
mov eax, dword [edi + 0x78]
or edx, 0xffffffff
mov ecx, dword [eax + ebx*4]
lea eax, [ecx + 4]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x1025c9ca
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, esi
jl 0x1025c9b0
mov eax, dword [edi + 0x78]
push eax
call fcn.102afeda
add esp, 4
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp eax, 0x706e7420
je 0x1025cba8
cmp eax, 0x70746820
je 0x1025cad8
cmp eax, 0x72656164
jne 0x1025cacc
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x1025ca27
call fcn.1016eca0
mov esi, eax
jmp 0x1025ca78
lea ebp, [ebx + 0x18]
cmp ebp, ebx
jb 0x1025cc1f
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov esi, eax
test ebp, ebp
je 0x1025ca4c
test esi, esi
je 0x1025cc24
jmp 0x1025ca50
test esi, esi
je 0x1025ca76
lea eax, [esi + 0x18]
mov dword [esi + 4], 1
mov dword [esi], 0x102fa34c
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jmp 0x1025ca78
xor esi, esi
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
push ebx
push dword [esi + 0x10]
mov eax, dword [ebp]
mov eax, dword [eax + 0x4c]
call eax
test al, al
je 0x1025cab6
cmp dword [edi + 0x74], 0
mov ecx, ebp
mov edx, dword [ebp]
sete al
movzx eax, al
push eax
mov eax, dword [edx + 0x68]
call eax
test al, al
je 0x1025cab6
mov dword [edi + 0x74], esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1025cacc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp dword [esp + 0x24], 0
jbe 0x1025cc13
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [edi + 0x64], 0
lea ebx, [edi + 0x60]
mov esi, eax
mov dword [esp + 0x24], esi
jle 0x1025cb32
xor ebp, ebp
xor edi, edi
nop
mov esi, dword [ebx + 0x10]
mov ecx, dword [esi + ebp]
test ecx, ecx
je 0x1025cb1e
lea eax, [ecx + 4]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x1025cb1e
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + ebp], 0
inc edi
add ebp, 0xc
cmp edi, dword [ebx + 4]
jl 0x1025cb00
mov esi, dword [esp + 0x24]
push esi
mov ecx, ebx
mov dword [ebx + 4], 0
call fcn.1025d310
xor ebp, ebp
mov dword [ebx + 4], esi
test esi, esi
jle 0x1025cc13
xor edi, edi
mov esi, dword [ebx + 0x10]
add esi, edi
call fcn.10194c00
mov dword [esi], eax
mov cl, 2
mov dword [esi + 4], 0xffffffff
lea eax, [esi + 0xa]
mov word [esi + 8], 0
xchg byte [eax], cl
inc ebp
mov byte [esi + 0xb], 0
add edi, 0xc
cmp ebp, dword [ebx + 4]
jl 0x1025cb50
mov edi, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x70]
add eax, esi
push eax
mov edx, dword [ecx]
call dword [edx + 0x40]
add esi, 0xc
sub dword [esp + 0x24], 1
jne 0x1025cb83
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
xor ebx, ebx
cmp dword [edi + 0x50], ebx
jle 0x1025cbc4
xor ebp, ebp
mov ecx, dword [edi + 0x5c]
add ecx, ebp
call fcn.1014d810
inc ebx
add ebp, 0x44
cmp ebx, dword [edi + 0x50]
jl 0x1025cbb1
mov ebx, dword [esp + 0x24]
lea ecx, [edi + 0x4c]
push ebx
mov dword [edi + 0x50], 0
call fcn.1025d460
xor edx, edx
mov dword [edi + 0x50], ebx
test ebx, ebx
jle 0x1025cc13
xor ebp, ebp
mov ecx, dword [edi + 0x5c]
add ecx, ebp
call fcn.1014d680
inc edx
add ebp, 0x44
cmp edx, dword [edi + 0x50]
jl 0x1025cbe3
mov ebp, dword [esp + 0x1c]
xor esi, esi
nop dword [eax]
mov ecx, dword [edi + 0x5c]
push ebp
add ecx, esi
call fcn.10150480
add esi, 0x44
sub ebx, 1
jne 0x1025cc00
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 0xc
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3