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

Disassembly:
push 0xffffffffffffffff
push 0x544f13
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0xc0]
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov edi, ebp
mov dword [esp + 0x3c], ebx
call fcn.004c8df0
fld qword [esp + 0xd0]
cmp esi, ebx
fstp qword [ebp + 0xc8]
mov dword [ebp + 0xbc], ebx
jg 0x4c9936
mov esi, 0x3c0
and esi, 0xfffffff8
lea edi, [esp + 0x4c]
mov dword [ebp + 0xb8], esi
call fcn.004c91e0
mov dword [esp + 0xb8], 1
lea esi, [esp + 0x54]
mov byte [esp + 0xa4], 1
call fcn.0041db70
lea esi, [esp + 0x7c]
call fcn.004d35d0
lea esi, [esp + 0x68]
call fcn.0041db70
lea esi, [esp + 0x90]
call fcn.004d35d0
mov eax, dword [0x59f58c]
cmp eax, ebx
je 0x4c99a3
mov ecx, edi
push ecx
push 0x4c95e0
call eax
mov edx, edi
push edx
push 0x4c97f0
call dword [0x59f590]
mov edi, dword [esp + 0xc8]
lea ebx, [ebp + 0xd0]
mov esi, ebx
call fcn.004100e0
mov esi, dword [ebp + 0x5c]
push 0
mov ecx, ebx
call fcn.004104b0
mov ecx, 1
sub ecx, esi
add eax, ecx
push ebx
mov ecx, esi
call fcn.004102f0
push ebx
call fcn.00410380
cmp eax, 1
jg 0x4c99e4
mov eax, 1
mov edx, dword [ebp + 0xb8]
push 0
push 0
push 0
push edx
lea esi, [ebp + 0xf8]
push eax
call fcn.0042fb60
mov edi, esi
call fcn.0042fd00
mov ecx, ebx
mov dword [esp + 0x1c], 0
call fcn.004104b0
test eax, eax
jl 0x4c9bcf
xor edi, edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x1c]
mov edx, ebx
mov dword [esp + 0x24], 0
call fcn.004101a0
test al, al
je 0x4c9a4c
mov eax, dword [ebp + 0x108]
mov ecx, dword [edi + eax]
add edi, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x1c]
xor esi, esi
inc eax
mov edx, ebx
mov dword [esp + 0x18], esi
call fcn.004101a0
test al, al
je 0x4c9a76
mov edx, dword [ebp + 0x108]
mov esi, dword [edi + edx]
add edi, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
cmp dword [esp + 0x24], 0
jne 0x4c9a85
test esi, esi
je 0x4c9baf
push 0x38
call fcn.0051e4bd
mov esi, eax
add esp, 4
test esi, esi
je 0x4c9b13
mov eax, dword [ebp + 0x7c]
cmp eax, dword [esp + 0x9c]
jae 0x4c9ab1
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x14], edx
jmp 0x4c9ab9
mov dword [esp + 0x14], 0
fld qword [ebp + 0xc8]
mov edi, dword [ebp + 0xb8]
call fcn.00537c70
mov ebx, eax
mov eax, dword [ebp + 0x7c]
lea ecx, [esp + 0x68]
call fcn.0041db80
mov ecx, eax
lea eax, [esi + 0x14]
mov dword [esi + 0xc], 0x10
call fcn.0041ae00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x18], eax
xor eax, eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov edi, esi
jmp 0x4c9b15
xor edi, edi
mov ecx, dword [ebp + 0x94]
mov esi, dword [ebp + 0x90]
inc ecx
cmp ecx, esi
jle 0x4c9b93
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea ebx, [eax + ecx + 8]
and ebx, 0xfffffff8
cmp esi, ebx
je 0x4c9b93
test ebx, ebx
jle 0x4c9b74
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x4c9b5b
lea eax, [ebx*4]
push eax
call fcn.0051ef12
mov dword [ebp + 0x88], eax
jmp 0x4c9b8a
lea ecx, [ebx*4]
push ecx
push eax
call fcn.0051f11a
add esp, 8
mov dword [ebp + 0x88], eax
jmp 0x4c9b8d
mov edx, dword [ebp + 0x88]
push edx
call fcn.0051ee35
mov dword [ebp + 0x88], 0
add esp, 4
mov dword [ebp + 0x90], ebx
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp + 0x88]
lea ecx, [eax + 1]
mov dword [ebp + 0x94], ecx
mov dword [edx + eax*4], edi
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea ebx, [ebp + 0xd0]
add esi, 2
mov ecx, ebx
mov dword [esp + 0x1c], esi
call fcn.004104b0
cmp esi, eax
jle 0x4c9a21
mov edi, dword [esp + 0xcc]
lea ebx, [ebp + 0xe4]
mov esi, ebx
call fcn.004100e0
mov esi, dword [ebp + 0x70]
push 0
mov ecx, ebx
call fcn.004104b0
mov ecx, 1
sub ecx, esi
add eax, ecx
push ebx
mov ecx, esi
call fcn.004102f0
push ebx
call fcn.00410380
cmp eax, 1
jg 0x4c9c10
mov eax, 1
mov edx, dword [ebp + 0xb8]
push 0
push 0
push 0
push edx
lea esi, [ebp + 0x198]
push eax
call fcn.0042fb60
mov edi, esi
call fcn.0042fd00
mov ecx, ebx
mov dword [esp + 0x1c], 0
call fcn.004104b0
test eax, eax
jl 0x4c9df4
xor edi, edi
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x1c]
mov edx, ebx
mov dword [esp + 0x20], 0
call fcn.004101a0
test al, al
je 0x4c9c78
mov eax, dword [ebp + 0x1a8]
mov ecx, dword [edi + eax]
add edi, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x1c]
xor esi, esi
inc eax
mov edx, ebx
mov dword [esp + 0x14], esi
call fcn.004101a0
test al, al
je 0x4c9ca2
mov edx, dword [ebp + 0x1a8]
mov esi, dword [edi + edx]
add edi, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], edi
cmp dword [esp + 0x20], 0
jne 0x4c9cb1
test esi, esi
je 0x4c9dd4
push 0x38
call fcn.0051e4bd
mov esi, eax
add esp, 4
test esi, esi
je 0x4c9d38
mov eax, dword [ebp + 0x78]
cmp eax, dword [esp + 0x88]
jae 0x4c9cda
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x18], edx
jmp 0x4c9ce2
mov dword [esp + 0x18], 0
fld qword [ebp + 0xc8]
mov edi, dword [ebp + 0xb8]
call fcn.00537c70
mov ebx, eax
mov eax, dword [ebp + 0x78]
lea ecx, [esp + 0x54]
call fcn.0041db80
mov ecx, eax
lea eax, [esi + 8]
mov dword [esi], 0x10
call fcn.0041ae00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov edi, esi
jmp 0x4c9d3a
xor edi, edi
mov ecx, dword [ebp + 0xa8]
mov esi, dword [ebp + 0xa4]
inc ecx
cmp ecx, esi
jle 0x4c9db8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea ebx, [eax + ecx + 8]
and ebx, 0xfffffff8
cmp esi, ebx
je 0x4c9db8
test ebx, ebx
jle 0x4c9d99
mov eax, dword [ebp + 0x9c]
test eax, eax
jne 0x4c9d80
lea eax, [ebx*4]
push eax
call fcn.0051ef12
mov dword [ebp + 0x9c], eax
jmp 0x4c9daf
lea ecx, [ebx*4]
push ecx
push eax
call fcn.0051f11a
add esp, 8
mov dword [ebp + 0x9c], eax
jmp 0x4c9db2
mov edx, dword [ebp + 0x9c]
push edx
call fcn.0051ee35
mov dword [ebp + 0x9c], 0
add esp, 4
mov dword [ebp + 0xa4], ebx
mov eax, dword [ebp + 0xa8]
mov edx, dword [ebp + 0x9c]
lea ecx, [eax + 1]
mov dword [ebp + 0xa8], ecx
mov dword [edx + eax*4], edi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
lea ebx, [ebp + 0xe4]
add esi, 2
mov ecx, ebx
mov dword [esp + 0x1c], esi
call fcn.004104b0
cmp esi, eax
jle 0x4c9c4d
mov esi, dword [esp + 0xc4]
mov ecx, esi
call fcn.0041adc0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esp + 0x3c], 1
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x20], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push 0xf
mov dword [esp + 0x28], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push pe_nt_image_headers32
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov eax, dword [ebp + 0xa8]
xor ebx, ebx
test eax, eax
jle 0x4c9f0a
cmp ebx, eax
jae 0x4c9e68
mov eax, dword [ebp + 0x9c]
mov eax, dword [eax + ebx*4]
jmp 0x4c9e6a
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.004c7480
call fcn.0041ae20
lea ecx, [esp + 0x30]
call fcn.0041add0
mov edx, dword [esi]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edx
call fcn.00403100
test eax, eax
jne 0x4c9ea1
inc ebx
cmp ebx, dword [ebp + 0xa8]
jl 0x4c9e5b
jmp 0x4c9f0a
push 0x566598
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push ecx
mov dword [esp + 0x24], esp
mov edi, esp
mov dword [esp + 0x24], eax
push 0x569a7c
mov eax, ebx
lea ecx, [esp + 0x64]
call fcn.0041db80
push ecx
mov esi, esp
mov dword [esp + 0x28], esp
push eax
push str.Error_opening
call fcn.0041b710
call fcn.0041b850
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0xd0]
mov edi, ebx
mov esi, eax
call fcn.0041b7f0
lea edi, [esp + 0x40]
call fcn.0041b850
mov esi, ebx
call fcn.0041ae20
mov ecx, edi
call fcn.0041add0
mov eax, dword [esi]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
call fcn.00403100
test eax, eax
jne 0x4c9fe4
xor ebx, ebx
cmp dword [ebp + 0x94], ebx
jle 0x4c9fe4
cmp ebx, dword [ebp + 0x94]
jae 0x4c9f42
mov ecx, dword [ebp + 0x88]
mov eax, dword [ecx + ebx*4]
jmp 0x4c9f44
xor eax, eax
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004c7df0
call fcn.0041ae20
lea ecx, [esp + 0x40]
call fcn.0041add0
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
call fcn.00403100
test eax, eax
jne 0x4c9f7b
inc ebx
cmp ebx, dword [ebp + 0x94]
jl 0x4c9f35
jmp 0x4c9fe4
push 0x566598
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [esp + 0x20], esp
mov edi, esp
mov dword [esp + 0x20], eax
push 0x569a7c
mov eax, ebx
lea ecx, [esp + 0x78]
call fcn.0041db80
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
push eax
push str.Error_opening
call fcn.0041b710
call fcn.0041b850
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0xd0]
mov edi, ebx
mov esi, eax
call fcn.0041b7f0
lea edi, [esp + 0x3c]
call fcn.0041b850
mov esi, ebx
call fcn.0041ae20
mov ecx, edi
call fcn.0041add0
mov ecx, dword [esi]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
call fcn.00403100
test eax, eax
jne 0x4ca098
xor edi, edi
cmp dword [ebp + 0xa8], edi
mov dword [ebp + 0xbc], edi
jle 0x4ca03c
jmp 0x4ca010
mov edx, dword [ebp + 0x9c]
mov eax, dword [edx + edi*4]
cmp dword [eax + 0x24], 0
je 0x4ca033
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx]
add eax, 0x28
push eax
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, dword [edx + 0x10]
call ecx
inc edi
cmp edi, dword [ebp + 0xa8]
jl 0x4ca010
xor edi, edi
cmp dword [ebp + 0x94], edi
jle 0x4ca079
jmp 0x4ca050
mov edx, dword [ebp + 0x88]
mov eax, dword [edx + edi*4]
cmp dword [eax + 0x34], 0
je 0x4ca070
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [edx + 0x10]
call ecx
inc edi
cmp edi, dword [ebp + 0x94]
jl 0x4ca050
add ebp, 0xc
push 9
mov eax, ebp
call fcn.004213c0
mov eax, 0xa
call fcn.004ba0d0
mov eax, ebp
call fcn.004215b0
jmp 0x4ca09f
mov ecx, esi
call fcn.0040f580
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
lea ecx, [esp + 0x4c]
push ecx
call fcn.004c9840
mov eax, esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x18