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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x7a0
mov esi, ecx
movzx ecx, byte [edx + 7]
mov edi, edx
test ecx, ecx
je 0x487d7c
cmp ecx, 1
je 0x487dc6
cmp dword [esi + 0xb4], 0
je 0x487dc6
movzx eax, byte [edi + 6]
test eax, eax
je 0x487d92
cmp eax, 1
je 0x487dc6
cmp dword [esi + 0xc0], 0
je 0x487dc6
movzx eax, byte [edi + 4]
test eax, eax
je 0x487da8
cmp eax, 1
je 0x487dc6
cmp dword [esi + 0x20], 0x80000000
je 0x487dc6
movzx eax, byte [edi + 5]
test eax, eax
je 0x48824f
cmp eax, 1
je 0x487dc6
cmp dword [esi + 0x30], 0x80000000
jne 0x48824f
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x48824f
mov ebx, dword [eax + 8]
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x74]
push 0
push 4
push eax
push 0x1a
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48824f
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
test eax, eax
je 0x487f25
sub esp, 4
lea ecx, [esp + 0x88]
mov edx, ebx
lea esi, [esp + 0x32c]
push 0
push 0x470
push esi
push eax
call fcn.00488c2b
add esp, 0x14
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
mov ecx, ebx
call fcn.004878c7
test ebx, ebx
jne 0x48824f
mov dword [esp + 0x20], edi
sub esp, 4
mov edx, dword [esp + 0x18]
lea ebx, [esp + 0x54]
lea eax, [esp + 0x88]
mov ecx, ebx
push 0
push 0x2a4
push eax
push dword [esp + 0x348]
call fcn.00488c2b
add esp, 0x14
mov esi, dword [ebx]
mov edx, dword [ebx + 8]
mov ecx, esi
call fcn.004878c7
test esi, esi
jne 0x48824f
movzx eax, word [esp + 0xa8]
mov edx, dword [esp + 0xcc]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
test al, al
je 0x4880bd
mov esi, dword [esp + 0xc8]
movzx ebx, word [esp + 0xc4]
movzx eax, al
cmp eax, 1
je 0x487ee3
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xb4], 0
jne 0x4880bd
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edx
lea edi, [eax + 0xac]
call fcn.00488c60
cmp byte [0x50c230], 0
je 0x488052
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x50]
mov ecx, esi
call fcn.00488d53
mov ecx, edi
call fcn.00487749
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
jmp 0x4880ae
lea eax, [esp + 0x50]
push 0
push 0x18
push eax
push 0
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48824f
sub esp, 4
lea esi, [esp + 0x32c]
lea eax, [esp + 0x88]
mov edx, ebx
mov ecx, esi
push 0
push 0x1d8
push eax
push dword [esp + 0x64]
call fcn.00488c2b
add esp, 0x14
mov ebx, dword [esi]
mov edx, dword [esi + 8]
mov ecx, ebx
call fcn.004878c7
test ebx, ebx
jne 0x48824f
sub esp, 4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
mov ebx, ecx
push 0
push 0x2a4
push esi
push dword [esp + 0xa4]
call fcn.00488c2b
add esp, 0x14
mov eax, ebx
mov ebx, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call fcn.004878c7
test ebx, ebx
jne 0x48824f
movzx eax, word [esp + 0x34c]
mov ebx, dword [esp + 0x370]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x350]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48840a
mov ecx, dword [esp + 0x36c]
movzx esi, word [esp + 0x368]
cmp eax, 1
je 0x488005
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xb4], 0
jne 0x48840a
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ecx
lea ebx, [eax + 0xac]
call fcn.00488c60
cmp byte [0x50c230], 0
je 0x48839a
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x24]
mov ecx, esi
call fcn.00488d53
mov ecx, ebx
call fcn.00487749
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
jmp 0x488406
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ebx
push esi
call fcn.004891b4
pop eax
pop ecx
lea eax, [esp + 0x50]
mov ebx, dword [eax]
cmp ebx, 0x80000000
jne 0x488085
and dword [esp + 0x24], 0
mov dword [esp + 0x28], 4
and dword [esp + 0x2c], 0
jmp 0x48809d
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x24]
mov edx, esi
call fcn.00488ca9
mov ecx, ebx
mov edx, esi
call fcn.0048756e
mov ecx, edi
call fcn.00487749
mov eax, dword [esp + 0x2c]
movsd xmm0, qword [esp + 0x24]
mov dword [edi + 8], eax
movsd qword [edi], xmm0
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
movzx eax, byte [edi + 6]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x488145
cmp eax, 1
je 0x4880d7
cmp dword [ebx + 0xc0], 0
jne 0x488145
mov edi, dword [esp + 0x14]
mov esi, edx
lea eax, [ebx + 0xb8]
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], eax
mov edx, edi
push esi
call fcn.004892a7
pop eax
lea eax, [esp + 0x50]
cmp dword [eax], 0
jne 0x488120
lea ecx, [esp + 0x78]
mov edx, edi
push dword [esp + 0x54]
push esi
call fcn.004891b4
pop eax
pop ecx
lea eax, [esp + 0x78]
mov eax, dword [eax]
cmp eax, 0x80000000
jne 0x488257
mov ecx, dword [esp + 0x18]
call fcn.00487749
mov edi, dword [esp + 0x20]
and dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 4
and dword [ebx + 0xc0], 0
movzx eax, byte [edi + 4]
lea ecx, [ebx + 0x20]
test eax, eax
je 0x488159
cmp eax, 1
jne 0x48815d
mov dl, 1
jmp 0x488166
xor edx, edx
jmp 0x488166
cmp dword [ecx], 0x80000000
sete dl
lea esi, [ebx + 0x30]
movzx ebx, byte [edi + 5]
test ebx, ebx
je 0x488181
cmp ebx, 1
je 0x48818d
cmp dword [esi], 0x80000000
sete al
jmp 0x488183
xor eax, eax
or al, dl
cmp al, 1
jne 0x48824f
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], esi
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, esi
push dword [esp + 0xc]
push dword [esp + 0x38]
call fcn.004891b4
pop eax
pop ecx
mov edi, dword [esi]
cmp edi, 0x80000000
jne 0x4881d4
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
call fcn.0046aa27
mov dword [esi + 0x20], 0x80000000
jmp 0x48824f
mov edx, dword [esp + 0x28]
lea esi, [esp + 0x50]
mov ecx, esi
mov dword [esp + 0x14], edx
push dword [esp + 0x2c]
call fcn.00488f94
pop eax
mov byte [esi + 0xc], 1
movzx ecx, bl
mov eax, dword [esi + 4]
mov ebx, eax
mov edx, eax
push dword [esp + 0x20]
push dword [esi + 8]
call fcn.00489008
pop eax
pop ecx
cmp byte [esp + 0x18], 0
je 0x488239
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
call fcn.0046aa27
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x1c]
movsd xmm1, qword [esp + 0x58]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x488244
mov ecx, dword [esp + 0x50]
mov edx, ebx
call fcn.0049eabd
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.0048756e
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], eax
lea ecx, [esp + 0x50]
lea eax, [0x4e45ed]
mov dword [ecx], 0x4e45ec
mov dword [ecx + 4], eax
and word [ecx + 8], 0
call fcn.00488e5f
mov edi, dword [esp + 0x20]
test ax, ax
mov word [esp + 0x38], dx
je 0x488737
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
call fcn.00488f21
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], esi
mov edx, esi
mov ecx, ebx
mov dword [esp + 4], eax
push eax
call fcn.00488f33
pop ecx
add edx, edx
xor ebx, ebx
test edx, edx
je 0x488384
cmp word [eax + ebx*2], 0
je 0x4882d0
inc ebx
add edx, 0xfffffffe
jmp 0x4882bb
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
add ebx, eax
push 0x4e16a0
push ebx
push eax
call fcn.00488f51
movzx ecx, word [esp + 0x44]
add esp, 0xc
add edx, edx
test edx, edx
je 0x488384
add edx, 0xfffffffe
cmp word [eax], cx
lea eax, [eax + 2]
jne 0x4882f4
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov edx, esi
push 0x4e16b0
push ebx
push dword [esp + 0xc]
call fcn.00488f51
add esp, 0xc
mov dword [esp + 4], edx
lea ecx, [esp + 0x50]
mov edx, eax
push dword [esp + 4]
call fcn.0047cbd0
pop eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x24]
mov dword [esp + 4], eax
mov edx, dword [esp + 4]
push dword [esp + 0x58]
call fcn.00484340
pop eax
lea ecx, [esp + 0x40]
lea edx, [esp + 0x24]
call fcn.00488f6e
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x40]
call fcn.00402318
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 4]
call fcn.0049eabd
inc ebx
mov eax, ebx
mov ebx, dword [esp + 0x1c]
jmp 0x4882a8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
call fcn.0048756e
mov ebx, dword [esp + 0x10]
jmp 0x488145
mov edx, dword [esp + 0x14]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x24]
mov ecx, ebx
push esi
push dword [esp + 8]
call fcn.004891b4
pop eax
pop ecx
mov esi, dword [ebx]
cmp esi, 0x80000000
jne 0x4883d2
and dword [esp + 0x40], 0
mov dword [esp + 0x44], 4
and dword [esp + 0x48], 0
jmp 0x4883ea
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x40]
mov edx, ebx
call fcn.00488ca9
mov ecx, esi
mov edx, ebx
call fcn.0048756e
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.00487749
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x40]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov ebx, dword [esp + 0xc]
movzx eax, byte [edi + 6]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4884af
cmp eax, 1
je 0x48842c
cmp dword [ecx + 0xc0], 0
jne 0x4884af
mov esi, dword [esp + 0x14]
lea eax, [ecx + 0xb8]
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], eax
mov edx, esi
push ebx
call fcn.004892a7
pop eax
lea eax, [esp + 0x24]
mov eax, dword [eax]
test eax, eax
je 0x488467
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], 0x80000000
jmp 0x48848a
lea ecx, [esp + 0x68]
mov edx, esi
push dword [esp + 0x28]
push ebx
call fcn.004891b4
pop eax
pop ecx
lea eax, [esp + 0x68]
mov eax, dword [eax]
cmp eax, 0x80000000
jne 0x4885fb
mov ecx, dword [esp + 0xc]
call fcn.00487749
mov ecx, dword [esp + 0x10]
and dword [ecx + 0xb8], 0
mov dword [ecx + 0xbc], 4
and dword [ecx + 0xc0], 0
movzx eax, byte [edi + 4]
lea edx, [ecx + 0x20]
lea esi, [esp + 0x328]
test eax, eax
je 0x4884ca
cmp eax, 1
jne 0x4884d4
mov al, 1
jmp 0x4884dd
mov dword [esp + 0xc], 0
jmp 0x4884e1
cmp dword [edx], 0x80000000
sete al
mov dword [esp + 0xc], eax
movzx ebx, byte [edi + 5]
add ecx, 0x30
test ebx, ebx
je 0x4884fc
cmp ebx, 1
je 0x48850a
cmp dword [ecx], 0x80000000
sete al
jmp 0x4884fe
xor eax, eax
or al, byte [esp + 0xc]
cmp al, 1
jne 0x4885de
mov dword [esp + 8], edx
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, esi
push dword [esp + 0x34]
push dword [esp + 0x20]
call fcn.004891b4
pop eax
pop ecx
mov eax, dword [esi]
cmp eax, 0x80000000
jne 0x488556
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
call fcn.0046aa27
mov dword [esi + 0x20], 0x80000000
lea esi, [esp + 0x328]
jmp 0x4885de
mov edx, dword [esp + 0x44]
lea esi, [esp + 0x24]
mov dword [esp + 0x34], eax
mov ecx, esi
mov dword [esp + 0x1c], edx
push dword [esp + 0x48]
call fcn.00488f94
pop eax
mov byte [esi + 0xc], 1
mov eax, esi
movzx ecx, bl
mov esi, dword [esi + 4]
mov edx, esi
push dword [esp + 4]
push dword [eax + 8]
call fcn.00489008
pop eax
pop ecx
cmp byte [esp + 0xc], 0
je 0x4885bf
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
call fcn.0046aa27
movsd xmm0, qword [esp + 0x24]
mov eax, dword [esp + 8]
movsd xmm1, qword [esp + 0x2c]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x4885ca
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.0049eabd
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x328]
call fcn.0048756e
sub esp, 4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x88]
push 0
push 0x470
push esi
push 0
jmp 0x487e25
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x24]
lea eax, [0x4e45ed]
mov dword [ecx], 0x4e45ec
mov dword [ecx + 4], eax
and word [ecx + 8], 0
call fcn.00488e5f
test ax, ax
mov word [esp + 0x4e], dx
je 0x488737
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
call fcn.00488f21
xor eax, eax
mov dword [esp + 4], esi
mov dword [esp + 0x38], ebx
mov edx, ebx
mov ecx, esi
mov dword [esp + 8], eax
push eax
call fcn.00488f33
pop ecx
add edx, edx
xor esi, esi
test edx, edx
je 0x488721
cmp word [eax + esi*2], 0
je 0x48866d
inc esi
add edx, 0xfffffffe
jmp 0x488658
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x38]
add esi, eax
push 0x4e16a0
push esi
push eax
call fcn.00488f51
movzx ecx, word [esp + 0x5a]
add esp, 0xc
add edx, edx
test edx, edx
je 0x488721
add edx, 0xfffffffe
cmp word [eax], cx
lea eax, [eax + 2]
jne 0x488691
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 4]
mov edx, ebx
push 0x4e16b0
push esi
push dword [esp + 0x10]
call fcn.00488f51
add esp, 0xc
mov dword [esp + 8], edx
lea ecx, [esp + 0x24]
mov edx, eax
push dword [esp + 8]
call fcn.0047cbd0
pop eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x40]
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
push dword [esp + 0x2c]
call fcn.00484340
pop eax
lea ecx, [esp + 0x78]
lea edx, [esp + 0x40]
call fcn.00488f6e
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x78]
call fcn.00402318
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 8]
call fcn.0049eabd
inc esi
mov eax, esi
mov esi, dword [esp + 4]
jmp 0x488645
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 4]
call fcn.0048756e
mov ecx, dword [esp + 0x10]
jmp 0x4884af
mov ecx, 0x4e1680
call fcn.004a0660