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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
bswap esi
bswap edi
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0x3c], str..eh_frame_section_at_offset_0x_llx_address_0x_llx:_n
mov dword [esp + 0x38], 0x5530f0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0
lea ecx, [esp + 0x38]
mov dword [esp], ecx
mov ecx, eax
call fcn.005507fe
sub esp, 4
mov eax, dword [ebx]
inc dword [eax + 8]
mov eax, dword [ebx + 4]
add eax, 0x1c
mov ecx, dword [ebp + 8]
mov dword [esp + 4], ecx
mov dword [esp], eax
lea ecx, [esp + 0x98]
call fcn.0048ec40
sub esp, 8
test byte [esp + 0xa0], 1
jne 0x491211
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + 4]
mov word [esp + 0xf0], 0
mov dword [esp + 0x188], 0x55d52c
mov dword [esp + 0x18c], 0x550ac2
lea edi, [esp + 0x188]
mov dword [esp + 0x198], edi
mov dword [esp + 0x170], 0x55d52c
mov dword [esp + 0x174], 0x550ac8
lea ebx, [esp + 0x170]
mov dword [esp + 0x180], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xf0]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call fcn.00550822
mov ecx, dword [esp + 0x180]
cmp ecx, ebx
je 0x49099b
test ecx, ecx
je 0x4909a9
mov eax, dword [ecx]
add eax, 0x14
mov ebx, ecx
jmp 0x4909a5
mov eax, dword [esp + 0x170]
add eax, 0x10
mov ecx, ebx
call dword [eax]
mov ecx, dword [esp + 0x198]
cmp ecx, edi
je 0x4909c1
test ecx, ecx
je 0x4909cf
mov eax, dword [ecx]
add eax, 0x14
mov edi, ecx
jmp 0x4909cb
mov eax, dword [esp + 0x188]
add eax, 0x10
mov ecx, edi
call dword [eax]
test byte [esp + 0xf0], 1
je 0x4909e8
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x140]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
mov ebx, eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc4]
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 1
lea ecx, [esp + 0x1a8]
call fcn.0055086a
sub esp, 0x10
mov dword [esp + 0x100], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0xfc], eax
mov word [esp + 0x104], 0x400
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x14], ebx
movups xmm0, xmmword [esp + 0xfc]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x1a8]
mov dword [esp], eax
lea ecx, [esp + 0x38]
call fcn.00550864
sub esp, 0x18
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x49125e
mov esi, dword [esp + 0x1b8]
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0xac], eax
cmp esi, eax
mov ebx, dword [esp + 0x20]
jne 0x490b3f
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
lea edx, [ecx - 1]
xor esi, esi
cmp ecx, 2
cmovge esi, edx
mov dword [eax + 8], esi
lea ecx, [esp + 0x1a8]
call fcn.00550870
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
test ecx, ecx
je 0x490aef
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0xa0], 1
je 0x490b14
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x98], 0
test ecx, ecx
je 0x490b14
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esp + 0x50]
add eax, 0x10
mov ecx, edi
mov esi, dword [esp + 0x28]
call dword [eax]
add esi, 4
cmp esi, dword [esp + 0xac]
je 0x490abb
mov dword [esp + 0x28], esi
mov esi, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0x30], eax
test esi, esi
mov dword [esp + 0x34], esi
je 0x490d00
test edi, edi
jne 0x490d00
mov ecx, dword [esi + 0x10]
add ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x14]
adc edx, 0
mov edi, ebx
mov ebx, esi
mov esi, dword [esi + 0x18]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x3c], str._0x_llx__CIE_length_llu_n
mov dword [esp + 0x38], 0x5530f0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
call fcn.005507fe
sub esp, 4
mov ecx, dword [edi]
inc dword [ecx + 8]
mov dword [esp + 0xd8], 0x55d29d
mov dword [esp + 0xdc], 7
movzx eax, byte [ebx + 0x48]
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0xd8]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call dword [edx + 0x10]
sub esp, 0xc
mov ecx, dword [edi]
mov dword [esp + 0xd0], str.augmentation
mov dword [esp + 0xd4], 0xc
movsd xmm0, qword [ebx + 0x4c]
movsd qword [esp + 0x1a0], xmm0
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x1a0]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0xd0]
movsd qword [esp], xmm0
call dword [eax + 0x74]
sub esp, 0x10
mov ecx, dword [edi]
mov dword [esp + 0xc8], str.code_alignment_factor
mov dword [esp + 0xcc], 0x15
mov eax, dword [ebx + 0x68]
mov edx, dword [ebx + 0x6c]
mov esi, dword [ecx]
movsd xmm0, qword [esp + 0xc8]
movsd qword [esp], xmm0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call dword [esi + 0x30]
sub esp, 0x10
mov ecx, dword [edi]
mov dword [esp + 0xc0], str.data_alignment_factor
mov dword [esp + 0xc4], 0x15
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
mov esi, dword [ecx]
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp], xmm0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call dword [esi + 0x2c]
sub esp, 0x10
mov ecx, dword [edi]
mov dword [esp + 0xb8], str.return_address_register
mov dword [esp + 0xbc], 0x17
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
mov esi, dword [ecx]
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp], xmm0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call dword [esi + 0x30]
sub esp, 0x10
jmp 0x490e03
mov ecx, dword [esi + 0x10]
add ecx, dword [esp + 0x24]
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esp + 0xa8], eax
mov ebx, dword [esi + 0x60]
mov eax, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x10]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0x3c], str._0x_llx__FDE_length_llu_cie_0x_llx__n
mov dword [esp + 0x38], 0x55d550
mov dword [esp + 0x40], ecx
adc edi, 0
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x4c], ecx
add ebx, dword [esp + 0x24]
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x20]
adc eax, 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov ebx, eax
mov ecx, dword [esp + 0x30]
call fcn.005507fe
sub esp, 4
mov ecx, dword [edi]
inc dword [ecx + 8]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [esp + 0x3c], str.initial_location:_0x_llx_n
mov dword [esp + 0x38], 0x553100
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp], ebx
mov ecx, eax
call fcn.005507fe
sub esp, 4
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov ebx, dword [esi + 0x50]
add ebx, ecx
mov edi, dword [esi + 0x54]
adc edi, edx
mov dword [esp + 0x3c], str.address_range:_0x_llx__end_:_0x_llx__n
mov dword [esp + 0x38], 0x5530f0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x38]
mov dword [esp], ecx
mov ecx, eax
call fcn.005507fe
sub esp, 4
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x94]
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
lea edi, [esp + 0x68]
je 0x490e30
mov byte [ecx], 0xa
inc dword [eax + 0x10]
jmp 0x490e49
mov dword [esp + 4], 1
mov dword [esp], 0x558b36
mov ecx, eax
call fcn.005507d4
sub esp, 8
mov esi, dword [esp + 0x34]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 8
ja 0x490e80
mov dword [esp + 4], 9
mov dword [esp], str.Program:_n
mov ecx, eax
call fcn.005507d4
sub esp, 8
jmp 0x490e95
mov byte [ecx + 8], 0xa
mov dword [ecx + 4], 0x3a6d6172
mov dword [ecx], 0x676f7250
add dword [eax + 0x10], 9
lea edx, [esp + 0x80]
mov ecx, dword [ebx]
inc dword [ecx + 8]
lea eax, [esp + 0x48]
xorps xmm0, xmm0
movups xmmword [eax + 0x40], xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
movaps xmm0, xmmword [0x557760]
movups xmmword [esp + 0x38], xmm0
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 0x68], 0x55d52c
mov dword [esp + 0x6c], 0x550ac2
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], 0x55d52c
mov dword [esp + 0x84], 0x550ac8
mov dword [esp + 0x90], edx
mov byte [esp + 0x4e], 1
mov eax, dword [ecx]
call dword [eax + 0x94]
mov edi, eax
movups xmm0, xmmword [esp + 0x38]
movaps xmmword [esp + 0x110], xmm0
movsd xmm0, qword [esp + 0x47]
movsd qword [esp + 0x11f], xmm0
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x490f60
lea edx, [esp + 0x50]
cmp ecx, edx
je 0x490fb0
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esp + 0x138], eax
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x490f73
jmp 0x490fd5
mov dword [esp + 0x138], 0
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x490fd5
lea edx, [esp + 0x68]
cmp ecx, edx
je 0x491010
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esp + 0x150], eax
mov ecx, dword [esp + 0x90]
test ecx, ecx
lea edx, [esp + 0x80]
jne 0x490ff2
jmp 0x49103f
lea ecx, [esp + 0x128]
mov dword [esp + 0x138], ecx
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, edx
call dword [eax + 0xc]
sub esp, 4
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x490f73
mov dword [esp + 0x150], 0
mov ecx, dword [esp + 0x90]
test ecx, ecx
lea edx, [esp + 0x80]
je 0x49103f
cmp ecx, edx
je 0x491050
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esp + 0x168], eax
jmp 0x491070
lea ecx, [esp + 0x140]
mov dword [esp + 0x150], ecx
mov eax, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, edx
call dword [eax + 0xc]
sub esp, 4
mov ecx, dword [esp + 0x90]
test ecx, ecx
lea edx, [esp + 0x80]
jne 0x490ff2
mov dword [esp + 0x168], 0
jmp 0x491070
lea ecx, [esp + 0x158]
mov dword [esp + 0x168], ecx
mov eax, dword [esp + 0x80]
mov dword [esp], ecx
mov ecx, edx
call dword [eax + 0xc]
sub esp, 4
add esi, 0x20
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
lea eax, [esp + 0x110]
mov dword [esp + 4], eax
mov dword [esp], edi
mov ecx, esi
call fcn.00550b52
sub esp, 0xc
mov ecx, dword [esp + 0x168]
lea edx, [esp + 0x158]
cmp ecx, edx
je 0x4910c0
test ecx, ecx
lea edi, [esp + 0x68]
je 0x4910d2
mov eax, dword [ecx]
add eax, 0x14
jmp 0x4910d0
mov eax, dword [esp + 0x158]
add eax, 0x10
mov ecx, edx
lea edi, [esp + 0x68]
call dword [eax]
mov ecx, dword [esp + 0x150]
lea edx, [esp + 0x140]
cmp ecx, edx
je 0x4910f0
test ecx, ecx
je 0x4910fe
mov eax, dword [ecx]
add eax, 0x14
jmp 0x4910fc
mov eax, dword [esp + 0x140]
add eax, 0x10
mov ecx, edx
call dword [eax]
mov ecx, dword [esp + 0x138]
lea edx, [esp + 0x128]
cmp ecx, edx
je 0x491120
test ecx, ecx
je 0x49112e
mov eax, dword [ecx]
add eax, 0x14
jmp 0x49112c
mov eax, dword [esp + 0x128]
add eax, 0x10
mov ecx, edx
call dword [eax]
mov esi, ebx
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
cmp edx, 2
lea edx, [edx - 1]
mov ebx, 0
cmovl edx, ebx
cmp edx, 2
lea edx, [edx - 1]
cmovl edx, ebx
mov dword [ecx + 8], edx
call dword [eax + 0x94]
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x491170
mov byte [ecx], 0xa
inc dword [eax + 0x10]
jmp 0x491189
mov dword [esp + 4], 1
mov dword [esp], 0x558b36
mov ecx, eax
call fcn.005507d4
sub esp, 8
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x80]
cmp ecx, edx
mov ebx, esi
je 0x4911b0
test ecx, ecx
je 0x4911be
mov eax, dword [ecx]
add eax, 0x14
jmp 0x4911bc
mov eax, dword [esp + 0x80]
add eax, 0x10
mov ecx, edx
call dword [eax]
mov ecx, dword [esp + 0x78]
cmp ecx, edi
je 0x4911e0
test ecx, ecx
lea edi, [esp + 0x50]
je 0x4911ef
mov eax, dword [ecx]
add eax, 0x14
jmp 0x4911ed
mov eax, dword [esp + 0x68]
add eax, 0x10
mov ecx, edi
lea edi, [esp + 0x50]
call dword [eax]
mov ecx, dword [esp + 0x60]
cmp ecx, edi
je 0x490b20
test ecx, ecx
mov esi, dword [esp + 0x28]
je 0x490b2f
mov eax, dword [ecx]
add eax, 0x14
jmp 0x490b2d
mov eax, dword [esp + 0x98]
mov dword [esp + 0x98], 0
mov dword [esp + 0xb4], eax
mov ecx, dword [ebx + 4]
call fcn.00550e34
mov dword [esp + 0xec], edx
mov dword [esp + 0xe8], eax
movsd xmm0, qword [esp + 0xe8]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xb4]
mov dword [esp], eax
call fcn.0052da00
mov dword [esp + 0xb0], eax
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
call fcn.00550e34
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe0], eax
movsd xmm0, qword [esp + 0xe0]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.0052da00
int3