Function at 0x1025c580
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 0x1025c955
je 0x1025c881
cmp eax, 0x626c6f62
je 0x1025c787
cmp eax, 0x62746d70
je 0x1025c6c1
cmp eax, 0x696d6167
jne 0x1025ca2c
cmp dword [edi + 0x8c], 0
jne 0x1025c5d9
cmp dword [edi + 0x88], 0
jne 0x1025c5d9
mov cl, 1
jmp 0x1025c5db
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 0x1025ca2c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1025cb73
xor ecx, ecx
mov dword [edi + 0x8c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.102afe62
xor esi, esi
mov dword [edi + 0x88], eax
add esp, 4
cmp dword [edi + 0x8c], esi
jle 0x1025cb73
mov ecx, ebx
call fcn.101dba70
mov ecx, dword [edi + 0x88]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0x88]
cmp dword [eax + esi*4], 0
je 0x1025c661
inc esi
cmp esi, dword [edi + 0x8c]
jl 0x1025c630
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
xor ebx, ebx
test esi, esi
jle 0x1025c698
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 0x1025c68d
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, esi
jl 0x1025c670
mov eax, dword [edi + 0x88]
push eax
call fcn.102afe3a
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 0x1025c6e3
xor ebp, ebp
nop word [eax + eax]
mov ecx, dword [edi + 0x48]
add ecx, ebp
call fcn.10145e40
inc ebx
add ebp, 0x34
cmp ebx, dword [edi + 0x3c]
jl 0x1025c6d0
mov ebp, dword [esp + 0x24]
lea ecx, [edi + 0x38]
push ebp
mov dword [edi + 0x3c], 0
call fcn.1025d480
xor ebx, ebx
mov dword [edi + 0x3c], ebp
test ebp, ebp
jle 0x1025c73d
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 0x1025c702
mov ebp, dword [esp + 0x24]
xor ebx, ebx
test ebp, ebp
jle 0x1025cb73
xor ebp, ebp
nop dword [eax]
mov esi, dword [edi + 0x48]
mov ecx, dword [esp + 0x1c]
add esi, ebp
push esi
call fcn.101db620
test al, al
je 0x1025ca2c
mov eax, dword [esi]
test eax, eax
je 0x1025c771
mov byte [eax + 0x4c], 2
inc ebx
add ebp, 0x34
cmp ebx, dword [esp + 0x24]
jl 0x1025c750
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp dword [edi + 0x84], 0
jne 0x1025c79d
cmp dword [edi + 0x80], 0
jne 0x1025c79d
mov cl, 1
jmp 0x1025c79f
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 0x1025ca2c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1025cb73
xor ecx, ecx
mov dword [edi + 0x84], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.102afe62
xor esi, esi
mov dword [edi + 0x80], eax
add esp, 4
cmp dword [edi + 0x84], esi
jle 0x1025cb73
push ebx
call fcn.101ad6c0
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 0x1025c827
inc esi
cmp esi, dword [edi + 0x84]
jl 0x1025c7f4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
xor ebx, ebx
test esi, esi
jle 0x1025c858
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 0x1025c84d
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, esi
jl 0x1025c830
mov eax, dword [edi + 0x80]
push eax
call fcn.102afe3a
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 0x1025c891
cmp dword [edi + 0x78], 0
jne 0x1025c891
mov cl, 1
jmp 0x1025c893
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 0x1025ca2c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1025cb73
xor ecx, ecx
mov dword [edi + 0x7c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.102afe62
xor esi, esi
mov dword [edi + 0x78], eax
add esp, 4
cmp dword [edi + 0x7c], esi
jle 0x1025cb73
nop
mov ecx, ebx
call fcn.101e2e20
mov ecx, dword [edi + 0x78]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0x78]
cmp dword [eax + esi*4], 0
je 0x1025c908
inc esi
cmp esi, dword [edi + 0x7c]
jl 0x1025c8e0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
xor ebx, ebx
test esi, esi
jle 0x1025c932
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 0x1025c92a
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, esi
jl 0x1025c910
mov eax, dword [edi + 0x78]
push eax
call fcn.102afe3a
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 0x1025cb08
cmp eax, 0x70746820
je 0x1025ca38
cmp eax, 0x72656164
jne 0x1025ca2c
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x1025c987
call fcn.1016eb60
mov esi, eax
jmp 0x1025c9d8
lea ebp, [ebx + 0x18]
cmp ebp, ebx
jb 0x1025cb7f
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 0x1025c9ac
test esi, esi
je 0x1025cb84
jmp 0x1025c9b0
test esi, esi
je 0x1025c9d6
lea eax, [esi + 0x18]
mov dword [esi + 4], 1
mov dword [esi], 0x102f92c4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jmp 0x1025c9d8
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 0x1025ca16
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 0x1025ca16
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 0x1025ca2c
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 0x1025cb73
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 0x1025ca92
xor ebp, ebp
xor edi, edi
nop
mov esi, dword [ebx + 0x10]
mov ecx, dword [esi + ebp]
test ecx, ecx
je 0x1025ca7e
lea eax, [ecx + 4]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x1025ca7e
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + ebp], 0
inc edi
add ebp, 0xc
cmp edi, dword [ebx + 4]
jl 0x1025ca60
mov esi, dword [esp + 0x24]
push esi
mov ecx, ebx
mov dword [ebx + 4], 0
call fcn.1025d270
xor ebp, ebp
mov dword [ebx + 4], esi
test esi, esi
jle 0x1025cb73
xor edi, edi
mov esi, dword [ebx + 0x10]
add esi, edi
call fcn.10194ae0
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 0x1025cab0
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 0x1025cae3
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 0x1025cb24
xor ebp, ebp
mov ecx, dword [edi + 0x5c]
add ecx, ebp
call fcn.1014d6a0
inc ebx
add ebp, 0x44
cmp ebx, dword [edi + 0x50]
jl 0x1025cb11
mov ebx, dword [esp + 0x24]
lea ecx, [edi + 0x4c]
push ebx
mov dword [edi + 0x50], 0
call fcn.1025d3c0
xor edx, edx
mov dword [edi + 0x50], ebx
test ebx, ebx
jle 0x1025cb73
xor ebp, ebp
mov ecx, dword [edi + 0x5c]
add ecx, ebp
call fcn.1014d510
inc edx
add ebp, 0x44
cmp edx, dword [edi + 0x50]
jl 0x1025cb43
mov ebp, dword [esp + 0x1c]
xor esi, esi
nop dword [eax]
mov ecx, dword [edi + 0x5c]
push ebp
add ecx, esi
call fcn.10150310
add esi, 0x44
sub ebx, 1
jne 0x1025cb60
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