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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov ebx, ecx
mov eax, dword [ecx + 0x90]
or eax, dword [ecx + 0x94]
je 0x491f87
lea esi, [ebx + 0x88]
mov dword [esp + 0xe0], str.RELA
mov dword [esp + 0xe4], 4
mov eax, dword [ebx]
movsd xmm0, qword [esp + 0xe0]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], esi
mov dword [esp], 4
mov ecx, ebx
call dword [eax + 0x10c]
sub esp, 0x10
mov ecx, esi
call fcn.004927b0
test edx, edx
je 0x491f87
mov edi, eax
shl edx, 2
lea esi, [edx + edx*2]
add edi, 4
nop dword [eax]
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x18], ecx
bswap eax
shr eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [edi - 4]
bswap eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
mov byte [esp + 0x30], 0
mov eax, dword [edi + 4]
mov byte [esp + 0x30], 1
bswap eax
mov dword [esp + 0x28], eax
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov ecx, ebx
lea edx, [esp + 0x18]
call fcn.00492c60
add edi, 0xc
add esi, 0xfffffff4
jne 0x491f30
mov eax, dword [ebx + 0x50]
or eax, dword [ebx + 0x54]
mov ecx, ebx
je 0x492032
lea edi, [ecx + 0x48]
mov dword [esp + 0xd8], 0x55d5f3
mov dword [esp + 0xdc], 3
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xd8]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], edi
mov dword [esp], 9
mov esi, ecx
call dword [eax + 0x10c]
sub esp, 0x10
mov ecx, edi
call fcn.004931b0
mov ecx, esi
test edx, edx
je 0x492032
mov edi, eax
mov ebx, edx
shl ebx, 3
add edi, 4
nop dword [eax]
mov eax, dword [edi]
mov edx, eax
shr edx, 0x18
mov dword [esp + 0x18], edx
bswap eax
shr eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [edi - 4]
bswap eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
mov byte [esp + 0x30], 0
lea edx, [esp + 0x18]
call fcn.00492c60
mov ecx, esi
add edi, 8
add ebx, 0xfffffff8
jne 0x491ff0
mov eax, dword [ecx + 0xd0]
or eax, dword [ecx + 0xd4]
mov ebx, ecx
je 0x49260e
lea eax, [ebx + 0xc8]
mov dword [esp + 0xd0], str.RELR
mov dword [esp + 0xd4], 4
mov edx, dword [ebx]
movsd xmm0, qword [esp + 0xd0]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], eax
mov dword [esp], 9
mov ecx, ebx
call dword [edx + 0x10c]
sub esp, 0x10
mov esi, dword [ebx + 0xc8]
test esi, esi
mov dword [esp + 0x14], ebx
je 0x49221d
lea eax, [ebx + 0xd0]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xe0]
mov dword [esp], eax
lea ecx, [esp + 0x18]
call fcn.00550e3a
sub esp, 4
mov dword [esp + 0x40], esi
mov ebx, esi
sub ebx, dword [esp + 0x18]
mov esi, ebx
sar esi, 0x1f
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], esi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe0]
mov dword [esp], eax
lea ecx, [esp + 0x18]
call fcn.00550e3a
sub esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], 0
xor edi, edi
sub ecx, ebx
mov ebx, dword [esp + 0x14]
mov edx, 0
sbb edx, esi
mov eax, dword [ebx + 0xd0]
cmp ecx, eax
sbb edx, dword [ebx + 0xd4]
jae 0x492226
mov ecx, dword [ebx + 0xe4]
mov dword [esp + 0xe8], str.unable_to_read_data_at_0x
lea eax, [esp + 0xb0]
mov dword [esp + 0xf0], eax
mov word [esp + 0xf8], 0xe03
lea eax, [esp + 0xe8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], str._of_size_0x
mov word [esp + 0x54], 0x302
lea eax, [esp + 0x44]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov word [esp + 0x90], 0xe02
lea eax, [esp + 0x80]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], 0x558815
mov word [esp + 0x7c], 0x302
mov eax, dword [ebx + 0xf4]
mov edx, dword [ebx + 0xf8]
lea esi, [esp + 0x6c]
mov dword [esp + 0x94], esi
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov word [esp + 0xa4], 0x502
lea eax, [esp + 0x94]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], str._:_it_goes_past_the_end_of_the_file_of_size_0x
mov word [esp + 0x68], 0x302
lea eax, [esp + 0x58]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x20], eax
mov word [esp + 0x28], 0xe02
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.0053aad0
sub esp, 4
jmp 0x492560
xor ecx, ecx
xor edi, edi
jmp 0x492564
mov esi, dword [esp + 0x3c]
test al, 3
jne 0x492249
mov ecx, dword [ebx + 0xd8]
xor ecx, 4
or ecx, dword [ebx + 0xdc]
jne 0x492249
sar eax, 2
mov edi, eax
jmp 0x492560
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], 0
movzx ecx, byte [ebx + 0xe8]
mov eax, ecx
and al, 1
je 0x492286
mov ecx, dword [ebx + 0xec]
test ecx, ecx
jne 0x492290
jmp 0x492387
shr ecx, 1
test ecx, ecx
je 0x492387
lea ebx, [ecx + 5]
cmp ebx, 0xfffffff0
jae 0x49279a
cmp ebx, 0xa
ja 0x4922c3
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
add bl, bl
mov byte [esp + 0x18], bl
xor esi, esi
jmp 0x4922f9
mov edi, ebx
or edi, 0xf
lea eax, [edi + 1]
mov dword [esp], eax
mov esi, ecx
call sub.libc.dll_operator_new_unsigned_int_
mov ecx, esi
mov esi, eax
add edi, 2
mov dword [esp + 0x18], edi
mov edx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xe8]
and al, 1
mov ebx, edx
test bl, 1
lea edx, [esp + 0x19]
cmove esi, edx
test al, al
je 0x492313
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xf0]
jmp 0x49231d
mov ebx, dword [esp + 0x14]
lea eax, [ebx + 0xe9]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], esi
mov edi, ecx
call sub.msvcrt.dll_memmove
mov dword [esi + edi], 0x73616820
mov word [esi + edi + 4], 0x20
movzx eax, byte [esp + 0x18]
test al, 1
je 0x492354
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
jmp 0x49235e
shr eax, 1
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x19]
mov dword [esp + 4], eax
mov dword [esp], ecx
lea ecx, [esp + 0x80]
call fcn.00550f3c
sub esp, 8
test byte [esp + 0x18], 1
je 0x492387
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov word [esp + 0x7c], 0x503
mov dword [esp + 0x6c], str.invalid
mov eax, dword [ebx + 0xf4]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], str.__0x
mov word [esp + 0xa4], 0x302
lea ebx, [esp + 0x94]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], esi
mov word [esp + 0x68], 0xe02
lea edi, [esp + 0x58]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0x5580d8
mov word [esp + 0x28], 0x302
lea eax, [esp + 0x18]
mov dword [esp], eax
lea ecx, [esp + 0x44]
call fcn.00550b46
sub esp, 4
movzx eax, byte [esp + 0x44]
test al, 1
je 0x49241d
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
jmp 0x492423
shr eax, 1
lea ecx, [esp + 0x45]
mov dword [esp + 4], eax
mov dword [esp], ecx
lea ecx, [esp + 0x80]
call fcn.00550f3c
sub esp, 8
test byte [esp + 0x44], 1
je 0x49244c
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x100]
test eax, eax
je 0x49251c
mov word [esp + 0x7c], 0x503
mov dword [esp + 0x6c], str._or
mov ecx, dword [esi + 0xfc]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x58], ebx
lea eax, [esi + 0xd8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x9c], str.__0x
mov word [esp + 0xa4], 0x302
mov word [esp + 0x68], 0xe02
mov dword [esp + 0x20], 0x5580d8
mov word [esp + 0x28], 0x302
lea eax, [esp + 0x18]
mov dword [esp], eax
lea ecx, [esp + 0x44]
call fcn.00550b46
sub esp, 4
movzx eax, byte [esp + 0x44]
test al, 1
je 0x4924e9
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
jmp 0x4924ef
shr eax, 1
lea ecx, [esp + 0x45]
mov dword [esp + 4], eax
mov dword [esp], ecx
lea ecx, [esp + 0x80]
call fcn.00550f3c
sub esp, 8
test byte [esp + 0x44], 1
je 0x492518
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0xe4]
mov word [esp + 0x28], 0x104
lea eax, [esp + 0x80]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.0053aad0
sub esp, 4
test byte [esp + 0x80], 1
mov ebx, esi
je 0x49255e
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
xor edi, edi
mov ecx, dword [esp + 0x40]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ecx
movsd xmm0, qword [esp + 0xc8]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
lea ecx, [esp + 0x58]
call fcn.00550e58
sub esp, 0xc
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
cmp edi, ebx
je 0x4925fa
add edi, 4
mov esi, dword [esp + 0x14]
nop word cs:[eax + eax]
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x18], ecx
bswap eax
shr eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [edi - 4]
bswap eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
mov byte [esp + 0x30], 0
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.00492c60
lea eax, [edi + 8]
add edi, 4
cmp edi, ebx
mov edi, eax
jne 0x4925b0
mov edi, dword [esp + 0x58]
test edi, edi
mov ebx, dword [esp + 0x14]
je 0x49260e
mov dword [esp + 0x5c], edi
mov dword [esp], edi
call sub.libc.dll_operator_delete_void_
mov eax, dword [ebx + 0x110]
or eax, dword [ebx + 0x114]
je 0x492792
lea esi, [ebx + 0x108]
mov eax, dword [ebx + 0x118]
xor eax, 0xc
or eax, dword [ebx + 0x11c]
jne 0x4926f2
mov dword [esp + 0xc0], 0x55d5fc
mov dword [esp + 0xc4], 3
mov eax, dword [ebx]
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], esi
mov dword [esp], 4
mov ecx, ebx
call dword [eax + 0x10c]
sub esp, 0x10
mov ecx, esi
call fcn.004927b0
test edx, edx
je 0x492792
mov edi, eax
shl edx, 2
lea esi, [edx + edx*2]
add edi, 4
nop word cs:[eax + eax]
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x18], ecx
bswap eax
shr eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [edi - 4]
bswap eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 4]
mov byte [esp + 0x30], 1
bswap eax
mov dword [esp + 0x28], eax
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov ecx, ebx
lea edx, [esp + 0x18]
call fcn.00492c60
add edi, 0xc
add esi, 0xfffffff4
jne 0x4926a0
jmp 0x492792
mov dword [esp + 0xb8], 0x55d5fc
mov dword [esp + 0xbc], 3
mov eax, dword [ebx]
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], esi
mov dword [esp], 9
mov ecx, ebx
call dword [eax + 0x10c]
sub esp, 0x10
mov ecx, esi
call fcn.004931b0
test edx, edx
je 0x492792
mov edi, eax
mov esi, ebx
mov ebx, edx
shl ebx, 3
add edi, 4
nop word cs:[eax + eax]
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x18], ecx
bswap eax
shr eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [edi - 4]
bswap eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
mov byte [esp + 0x30], 0
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.00492c60
add edi, 8
add ebx, 0xfffffff8
jne 0x492750
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x18]
call fcn.00407790
int3